Search results

  1. A

    Question Question about window app

    Are you able to active the debug alert? Since you already get the message from the leave trigger you can look at the stack trace and hopefully see where it was triggered from.
  2. A

    Speedup For Each Code

    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...
  3. A

    Question Making a code smaller

    There are several ways around this, assuming you don't want to actually refactor. For example you could put the code inside the procedure in a .if Include and just use the include in the procedure.
  4. A

    Is Index important for record update?

    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...
  5. A

    Question Logging Error 2624 and STOP Condition

    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...
  6. A

    Answered Window-close trigger

    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.
  7. A

    Question Using :U with character strings

    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.
  8. A

    Question Using :U with character strings

    OK, I think my question was answered: https://knowledgebase.progress.com/articles/Article/translation-manager-and-visual-translator-are-deprecated-in-oe-12 For release 12.0.0, the Translation Manager and Visual Translator were removed from the product. However it is still possible to use the...
  9. A

    Copy from a browse Cell

    Copy what? Are talking about the Windows Clipboard function?
  10. A

    Using PRESELECT EACH

    -undothrow 2
  11. A

    Question Using :U with character strings

    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...
  12. A

    Incremental backup same size as full backup

    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. Of...
  13. A

    Incremental backup same size as full backup

    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...
  14. A

    call multiple screens in one procedure sequentially

    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.
  15. A

    Question OEPDS Syntax Styling

    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...
  16. A

    OE 12 is available

    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...
  17. A

    Question How to decide when to use FUNCTION or INTERNAL PROCEDURE? What is the difference?

    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...
  18. A

    Resolved Listing all the procedure type handle

    Osborne's Knowledge Base link is correct. Relevant part: DEFINE VARIABLE hProcedure AS HANDLE NO-UNDO. hProcedure = SESSION:FIRST-PROCEDURE. DO WHILE VALID-HANDLE(hProcedure): /* Process hProcedure here */ hProcedure = hProcedure:NEXT-SIBLING. END. Judging from the screenshot you are...
  19. A

    Resolved Command a window from another

    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.
  20. A

    Progress kbase acting strange?

    Thanks for the "Select Viewer" tip, I never tried a right-click in the result list. Very handy, usually I just searched for the title of the entry in the online knowledge base.
Top