Search results

  1. K

    Question Invalid Character data found in MEMPTR for codepage ISO8859-1

    What is your session:cpinternal when running this code ? What codepage is the data that you read from the https socket ?
  2. K

    Question widget-pools

    When you have the name of a widget-pool, is it possible to get a list of dynamic objects created in this widget-pool ? When you have a handle to a dynamic object, is it possible to get the name of the widget-pool the object is created in ?
  3. K

    How to store a GUID in a Progress database ?

    Suppose I want to use GUID's (or UUID's) as primary index for a new database table. The GENERATE-UUID function returns a raw type value so my database column would be data type raw, if it were not that raw data type cannot be indexed. I could use base64-encode to convert my GUID to a string but...
  4. K

    need likes ?

    Apparently you need at least 3 likes to be able to insert web links into your posts on this forum, even for links to www. progress.com. What's up with this ? How do i get these likes ?
  5. K

    Question Web Service Android to OpenEdge

    Is OpenEdge Mobile (www.progress.com/products/openedge/components/mobile) what you are looking for ?
  6. K

    Transfer of fie

    You will need an os command for that. Either use the os-copy or os-command statement.
  7. K

    Question Progress with ZeroMQ

    I am not familiar with zeroMQ but I think you can find plenty of code samples, just not for Progress. You can use those samples and convert the syntax to progress syntax. create socket mySocket. mySocket:set-read-response-procedure(...). mySocket:connect(...). mySocket:write(...)...
  8. K

    How do you account for running multiple programs and an occurs?

    Or to be absolutely sure: do on error undo, leave on stop undo, leave: run <program1>. end.
  9. K

    Incremental df for tables

    I found that some installations only have a prodict.pl file in their src folder. This library does contain source code.
  10. K

    dynamic(?) buffer compare over table-name

    You might also use something like this ? run genericprocedure.p (input buffer customer:handle, input buffer o_customer:handle). genericprocedure.p: define input parameter newbuffer as handle no-undo. define input parameter oldbuffer as handle no-undo. if...
  11. K

    Question Memory leak on appserver

    I very much doubt this is the cause but i always put my delete object statements in a finally block to make sure they get executed.
  12. K

    Begins is not focusing the first record

    If you do not specify a sorting sequence then the 'find first' simply returns the first record the progress runtime happens to stumble upon. If this is not to your liking you must specify the sequence that must be used to define 'first'. FOR FIRST job-bom WHERE job-bom.company = "01" AND...
  13. K

    Passing blank numbered parameters to an include file

    Any reason why you use numbered parameters {1} in stead of named parameters {&param1} ?
  14. K

    Reading text files - why is this still not solved ?

    Strange, i can consistently reproduce this on different platforms (OE102b and OE11, unix and windows). Also can you explain, if input is A,B,C (with last line) expected output is A,B,C,C and not A,B,C or A,B,C,<empty line> ?
  15. K

    TimeOut for procedure

    I am quite sure STOP-AFTER is available in OE102b.
  16. K

    TimeOut for procedure

    I think this is a question about the STOP-AFTER phrase in the DO statement. I can only refer to Progress documentation about it.
  17. K

    Reading text files - why is this still not solved ?

    Suppose you have a simple text file (read.txt) with this contents: A B C Important is that the last line is not terminated with a CR or LF character. Then you read this text file with a simple program: DEFINE VARIABLE filename AS CHARACTER NO-UNDO. DEFINE VARIABLE filetext AS CHARACTER...
  18. K

    CLOB experiences/best practices

    CLOB fields can have their own codepage, independent of cpinternal or database codepage. Look for documentation on the CLOB-CODEPAGE option for database definitions and the COLUMN-CODEPAGE option for temp-table definitions.
  19. K

    CLOB experiences/best practices

    I would also make sure the CLOB fields are defined as using codepage UTF-8, as progress writes xml data in codepage UTF-8 by default.
  20. K

    Progress Installation Directory

    We use os-getenv("DLC") for that. Not sure if this covers all setups.
Back
Top