Search results

  1. K

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

    Maybe the current-window system handle is what you need ?
  2. K

    Run Progress Code from Java

    here is some documentation to read : http://communities.progress.com/pcom/docs/DOC-16333
  3. K

    To place widgets centrally in the frame

    Is it a resizable or a fixed-size frame ?
  4. K

    chr(0) on 4gl sockets

    So i think you should use put-byte ()
  5. K

    Time-source and database connection

    I think the problem lies with progress. When you assign the session:time-source, you must assign a logical database name to it. After the assignment though it will contain the physical database name. So solution is to make sure your SavTimeSrc always contains the logical database name, not the...
  6. K

    dynamic objects

    been there, done that, bought the ***** t-shirt ;)
  7. K

    dynamic objects

    I still find it strange and a bit disappointing that for dynamic datasets or queries, you can verify if other developers are doing a good job, but not for xml objects. (IMHO = in my humble opinion)
  8. K

    dynamic objects

    Progress allows you to keep track of dynamically created objects. For example, for dynamic datasets (create dataset statement) you can use session:first-dataset + next-sibling. For dynamic queries (create query statement) you can use session:first-query + next-sibling. Does something similar...
  9. K

    DotNet DataTypes

    Progress equivalent for DotNet Long data type is int64. Progress equivalent for DotNet Byte array data type is memptr (or BLOB as column in a table).
  10. K

    .wrx file svn commit

    I believe the problem is that this .wrx file changes whenever the .w file is edited in the appbuilder. Solution is that you only commit the .wrx file to svn when it is necessary (i.e. when controls on the .w were changed) and revert it in other cases. It is still recommended to store it in svn...
  11. K

    Fetching hostname of Progress DB servers

    Do remember that this may not be always the 2nd entry.
  12. K

    Fetching hostname of Progress DB servers

    You can try the function 'dbparam(1)'. This gives a comma separated list of parameters. One of these parameters may be '-H <hostname>'.
  13. K

    newbie in progress graphic

    stuff to read: http://communities.progress.com/pcom/docs/DOC-10428
  14. K

    Help needed on identify passed by Reference or not

    Using 'return no-apply.' in your before-row-fill procedure should do the trick.
  15. K

    JDBC connection fails

    Yep, i needed the util.jar. Thank you for your assistance.
  16. K

    JDBC connection fails

    I try to connect to a progress database from java, starting with this code from the documentation: Class.forName("com.ddtek.jdbc.openedge.OpenEdgeDriver"); I use %DLC%\java\openedge.jar (OpenEdge 10.2A02). This statement raises following error: Exception in thread "main"...
  17. K

    Progress Error

    Routine level controls error handling on routine level only. You still need to add an 'on error undo, throw' to every for each or repeat or other transaction block. Otherwise, any error occurring inside that block will not be caught by the top level handler. Or am I missing something ?
  18. K

    Cannot Get on query brConnections which is not opened.

    What is the value of cNewSort when the error is raised ?
  19. K

    Code Page Conversion

    You must make sure that all your code is double-byte enabled. For example, do not use var2 = substring(var1,1,1). but use var2 = substring(var1,1,1,"CHARACTER").
  20. K

    Recursive progrss query for parent-child tree structure.

    You may want to change your procedure a little bit, to ensure it will work correctly: PROCEDURE busca: DEF INPUT PARAMETER inicial AS CHAR. define buffer lbpart for part. FOR EACH lbpart NO-LOCK WHERE lbpart.padre = inicial. espacios = espacios + 2. txt = FILL(' ', espacios) +...
Back
Top