Search results

  1. K

    Re-direct into the login screen

    Do you really need an OCX timer for this ? The 'activity' event you create could also just update a timestamp you keep yourself, or directly go to the login screen if the current timestamp value is too old. Edit: I suppose you do, if the logout should happen immediately and not on the next...
  2. K

    Manually throw an exception?

    I think that throwing exceptions with the undo statement is adequate enough. But that is just my opinion.
  3. K

    size or end of position of longchar

    ...removed...
  4. K

    size or end of position of longchar

    ...removed...
  5. K

    how to write page break

    I suggest to read some documentation about the header option in the define frame statement.
  6. K

    Keywords - autocase and colour

    As far as i know you do not need to edit your registry for this. In the progress editor you open menu Options/Editing Options... Then you click on the Options... button. There you can set Keyword case to None.
  7. K

    Search a file with name

    Then you will need an OS command. You do realise that a search of the entire system can take long time ?
  8. K

    Search a file with name

    Should this location fetch be limited to folders listed in the propath, or should it include other folders ?
  9. K

    Simple methods missing

    Some more info may help. What is this CLOSE() method supposed to close ?
  10. K

    How to convert UTF-8 to ASCII using CONVERT TARGET

    Aren't these special characters just converted to a question mark ? (without raising an error)
  11. K

    How to convert UTF-8 to ASCII using CONVERT TARGET

    "YYY" is the name of another codepage. Special characters have no representation in standard ascii. Some special characters (like é or è or ë) can be converted to standard ascii (e), but certainly not all characters. I do not know a routine that will do this conversion. You may have to write it...
  12. K

    Determine Maximum Number of Characters that can be stored in CHARACTER Data Type?

    Also this limit in expressed in bytes. With a multi-byte codepage (like UTF-8) this does not always match characters.
  13. K

    can-do or look-up

    The lookup function does support the longchar data-type, so i see no reason why to switch to the index function.
  14. K

    how to use search on this forum

    Suppose i want to find threads on the server-connection-context attribute on the session system handle, how do i do this ? I search for "server-connection-context" but this does not work. Is it the hyphens that are causing an issue ? Is there a way around ? Another example: Suppose i want...
  15. K

    Check if another user has changed data

    Did you try this already ? If you are using save-row-changes for this, it will throw an error when that occurs.
  16. K

    memptr as function parameter

    Shouldn't you be using 'output repBuf, because replyBuffer is an output parameter ?
  17. K

    reading file owner on the file system

    We know that system-handle file-info allows you to read attributes of files on the operating system. Owner is not one of those attributes. Does anyone know a good way to read this attribute ?
  18. K

    Reconnect to Appserver ? ? :)

    The procedure you mention is the disconnect procedure, but it runs on the appserver itself, not on the client.
  19. K

    Reconnect to Appserver ? ? :)

    Before you run abc.p you should check if gshAstraAppserver:connected() is true. If not, you should reconnect.
  20. K

    Is possible to get a handle of a window on the procedure definitions

    Maybe because in the definitions section 'create window' was not executed yet so the window is not realised yet ?
Back
Top