Recent content by freak

  1. F

    What Do I Need To Buy?

    We've upgraded our 9.1d based ERP system and that meant mssql only. I have a bunch of .p files that I still would like to run. If I purchase a copy of openedge can I connect to the mssql server (dataserver?) and run my .p code? If so what exactly do I need to buy? Just the RDBMS or provision...
  2. F

    Remove Nulls From String

    I figured it out... def var s as char init "" no-undo s="hello" + chr(0) + "world". s=replace(s,"~000"," "). display s.
  3. F

    Remove Nulls From String

    How do you remove a null from a string with ancient, obsolete and unsupported 9.1d? I tried this and it doesn't work... def var s as char init "" no-undo s="hello" + chr(0) + "world". s=replace(s,chr(0)," "). display s.
  4. F

    We're Finally Upgrading Our Erp System.

    For those of you whom I bothered with ancient, obsolete and unsupported Progress 9.1d questions over the years you can relax. We are upgrading our EPR (epicor) system to the latest version by the end of the year. It's MSSql only now. Progress DB is no longer supported. I sincerely thank all...
  5. F

    Error Output Or Input-output Parameter In A User-defined Function. (6023) (100)

    Using ancient, obsolete and unsupported Progress 9.1d... Can anyone help identify what types of things would be causing this error I found in my logs? It's cut off right in the log so I don't know what the rest says. I couldn't find anything specific in the progress kb either. "10:31:09...
  6. F

    PHP version of "encode"

    Just an FYI... I just ported a c# version of the Progress encode function to PHP. Both versions are public domain. Seems to work well. PHP version https://github.com/freakdaddy/php-progress-encode c# version https://github.com/pvginkel/ProgressEncode
  7. F

    os-getenv("PROCESSOR_ARCHITECTURE") returns "x86" on 64bit machine

    Yeah!! That works! Thanks!
  8. F

    os-getenv("PROCESSOR_ARCHITECTURE") returns "x86" on 64bit machine

    Running obsolete, ancient and unsupported Progress 9.1d 32bit on a 64bit machine. On a 64bit machine at a command prompt I type "set" to see the system variables. It shows among other things... PROCESSOR_ARCHITECTURE=AMD64 It's actually an Intel processor but at least it shows 64. But...
  9. F

    does anyone have a proper case function?

    ...and thank you Tom!
  10. F

    does anyone have a proper case function?

    Almost forgot... We've been doing more and more with php/mysql, everything web. Not sure what the future holds for Progress and us.
  11. F

    does anyone have a proper case function?

    I wrote this after I posted... Yours doesn't handle upper/mixed case input strings. FUNCTION proper RETURNS CHAR (INPUT instring AS CHAR). DEF VAR X AS INTEGER NO-UNDO. DEF VAR newstring AS CHAR NO-UNDO. DO X=1 TO LENGTH(instring): IF X=1 THEN...
  12. F

    does anyone have a proper case function?

    Does anyone have a "proper" case function that they would like to share? I would like to take a variable such as "SOME STRING WITH WORDS" and change it to "Some String With Words". I'm using ancient, obsolete, unsupported Progress 9.1d and I should upgrade.;)
  13. F

    Need help with winsock

    I'm using ancient, obsolete, unsupported Progress 9.1d and I should upgrade.;) I'm trying to read data from a winsock control and from the DataArrival event. Each time DataArrival fires I try to get the data with GetData. I get the following error message... "Unexpected error occurred while...
  14. F

    _sequence jumps by total record count through odbc .newval

    Yes but as I posted, we are on 9.1b. :(
Top