Great post as always, Tom.
If you look more closely both lines
AND corpdata.ArrearsRpt.recOffc = t-officer.t-ofcCode
AND NOT can-do("IN251870,IL063128,IA065464,IL070155",corpdata.ArrearsRpt.recOffc)
refer to corpdata.ArrearsRpt.recOffc.
kasundha should check t-officer.t-ofcCode against the list...
Most important points have been made (searching the records is faster with a matching index, changing records is slower the more indexes include the fields you are changing).
One important point is to change both fields in one go within the same assign statement. If you are just doing...
I agree with RealHeavyDude. This is what KMoody suggested in their question anyway, and what you had to do before structured error handling.
It is nice that Progress finally introduces -catchStop (I thought that they only did that with OE 12).
Some things about STOP errors are still broken IMO...
I suppose you mean "to abort the window-close trigger"?
Where is this do-block located? Already in the "on window-close of" trigger?
If this is your window-close trigger, you will need "return no-apply" instead of "return" when you want to abort the trigger.
Labels are certainly being translated at compile-time and the translations are included in the r-code. The KB entry I mentioned (I didn't open a call, just stumbled upon it) says that this will still work.
If that doesn't answer your question you might have to be more specific.
OK, I think my question was answered:
For release 12.0.0, the Translation Manager and Visual Translator were removed from the product.
However it is still possible to use the...
I have the feeling I'm not totally clear what the Translation Manager actually is.
Is it a GUI tool to define the translations, or is the ability of the compiler to use the xlatedb and include translations in the .r files part of it? We use our own tool which operates on the XL_* tables in the...
Look again at what Rob wrote.
This is exactly what AI files are for. My company does the same thing for our clients, a full backup at night and rotating AI files maybe every 15 minutes and archiving them. You would be able to restore a backup and roll forward as many AI files as you like.
Are you referring to Progress KB - Incremental online backup has the same size as a full online backup ?
Sound like it is a bug which is still not fixed. It also sounds like the problem could happen again.
A Dump/Load can certainly be done faster, but you have to know what you are doing. Or you...
If the first .w program returns an error, error handling will kick in and the second .w program won't be run.
You could try the debugger, or just output a message between the two run statements.
You could also run the first program with no-error and check the error status.
Actually for me it looks more like it got confused by the single and double quotes. Does it help to escape the single quotation mark after href= with the tilde sign ~ ?
Or you could try a newer version of OpenEdge, 11.7 is available for quite a while now.
On the other hand I have seen the OEPDS...
I suppose we will move to OE12 eventually, but it will take a while.
We use stateless and statefree AppServers and Webspeed. I suppose it will be possible to move to PAS instead.
If Translation manager here means we can't use the xlatedb to make the compiler includes translated strings in the...
I don't think there is a significant difference in memory usage between functions and internal procedures. If you have to use either instead of methods and they are used in multiple programs you should just put them in a super procedure or session session service so they will only be loaded once...
Osborne's Knowledge Base link is correct.
DEFINE VARIABLE hProcedure AS HANDLE NO-UNDO.
hProcedure = SESSION:FIRST-PROCEDURE.
DO WHILE VALID-HANDLE(hProcedure):
/* Process hProcedure here */
hProcedure = hProcedure:NEXT-SIBLING.
Judging from the screenshot you are...
According to the OpenEdge help a procedure object handle does have a current-window attribute, but after reading about that attribute I'm not sure if it set automatically.
Alternatively you could try to iterate through all open windows with next-sibling.