Search results

  1. T

    integer and decimal

    This seems to do what you are asking: def var decnum as dec init 56.3. disp int(truncate(decnum,0)) int( ((decnum - truncate(decnum,0)) * 100) ) .
  2. T

    Password Protect csv files

    Check out this open source project: http://www.gnupg.org/ There are simpler methods than this that I would not necessarily trust. As well as more complex methods that would be overkill for any commercial use.
  3. T

    what is the fastest way to serialize a temp-table?

    I want to serialize a dynamic temp-table so I can pass it at run time not knowing its definition at compile time. JSON/XML are obvious choices but I neither want the bloat nor does it have to be human readable. Any suggestions? Optional compression would be icing on the cake but I could...
  4. T

    path to .cls files

    How do you define class files from openedge? (I am using 10.2A under unix) I read it was relative from the propath, with periods indicating directories. Example: PROPATH=/home/tom calling program (in /home/tom) is a one line program with the code "define variable mytest as...
  5. T

    option base 0?

    Is there any way to make the fist element of an array to be zero? So I could do col[0] = xyz. (like every other language!!!) It is a pain to remember to do -1 with active X and .net every time! Thanks Tom
  6. T

    skip statement not recognised in notepad

    Here is another way. Any unix environment should have sed. sed 's/$'"/`echo \\\r`/" input.txt > output.txt
  7. T

    allow user to save file to a particular directory

    You might consider using .net to do this. I used System.Windows.Forms.SaveFileDialog and it was pretty easy. You can find examples of this pretty easily for c# and all you have to do is change the syntax around to get it to run from progress.
  8. T

    copy of displayed fill-in widgets

    Thanks for the replies. I had already got that (read only) to work and it was not an option. It does look like s**t and our users would never accept that. I tried every option I could think of before asking Another problem was it could grab a field, but in my original post I wanted to grab...
  9. T

    copy of displayed fill-in widgets

    Update: progress said it can't be done.
  10. T

    copy of displayed fill-in widgets

    have fill-in widgets and want to be able to select them for copy to the windows clipboard. I have only been able to do the highlight and copy if it is sensitive. Does anyone know if there is a way I can get it to be selectable for "copy" and not be editable? Example: We have an address...
  11. T

    coding is fine,but i did not understood how it works

    It is using a recursive method to concatenate the string The function is calling itself repeatedly until it is finished. There are two cases: It has finished (the return ll) or it is not finished. In the case it is not yet finished doing the job, it is calling itself each time with one less...
  12. T

    dynamic find-next() on buffer-handle

    I suggest rereading about dynamic queries. "Indexed-reposition" in your query and calling reposition-to-rowid(rowid) can make dynamic queries a lot less expensive.
  13. T

    Override progress break by limitation

    I don't know exactly what you are trying to do, but I would read up on dynamic queries. Basically you build your "for each" as a string, prepare it and execute it. This might be what the doctor ordered.
  14. T

    appbuilder vs eclipse

    I have been using appbuilder for over a year now. Does it make sense to switch to eclipse? When we first looked into it it seemed like it was not quite ready for "prime time". What are the advantages to Progress's eclipse over appbuilder? What disadvantages are there? How big of a deal is...
Back
Top