Search results

  1. A

    Lower/Upper case

    Maybe something like this: def var txt as char. txt = "TeSt WoRd". txt = LC(txt). substring(txt,1,1) = CAPS(substring(txt,1,1)). Best reg. Arek
  2. A

    Roll Back Transaction ¿?

    Hi, You can do it like this: tr1: DO TRANSACTION: ....................... IF A > B THEN undo, leave tr1. END. Regards, Arek
  3. A

    program starting once

    this-procedure:file-name is almost the same like PROGRAM-NAME(...) and will work only in the same PROGRESS session. Arek
  4. A

    program starting once

    Then your problem is not Progress Development problem, but windows administration problem :) And I don't know how can I help you. My procedure blockade running the same procedure in one PROGRESS session of course. Regards, Arek
  5. A

    program starting once

    You can use simply code in the begin of your procedure (for example in standard include): def var i as integer. def var name as char. name = PROGRAM-NAME(2). i = 3. DO WHILE PROGRAM-NAME(i) <> ?: if PROGRAM-NAME(i) = name then do: MESSAGE "You can't run '" name "' procedure...
  6. A

    Progress time question

    In the past I wrote easy function to convert string to time. I hope, it will be helpful : function str2time return integer (input str as character): def var out-time as integer init 0. def var i as integer init 0. if num-entries(str,":") <> 3 then return ?. if...
  7. A

    If file exists function ? - Help

    In Progress you have two ways to check if file exists: 1) You can use SEARCH() function. 2) You can use FILE-INFO handle (look to help) Arek
  8. A

    Minimum function on characters

    Function minimum sort chracter values like dictionary. First function compare first characters of two values. If they are the same finction will compare next characters. In your example "T" is smaller then "|". ASC("T") = 84 ASC("|") = 124 Arek
  9. A

    Minimum function on characters

    In my Progress 4gl (v. 9.1) minimum("|", VC_TEST) ==> gives "TEST" Arek
  10. A

    Progress CHAT (by socket)

    Hi All, This is the simply CHAT client and server programm in Progress. Regards, Arek Panas
  11. A

    EXCLUSIVE-LOCK Behavior

    From the transaction monitor point of view, still the same user modify record and you can do with it what ever you wont. It is correct situation ! Arek Panas
  12. A

    Browse widget multiselect scrolling

    I had the same problem with multiselect browser, but I resolved it. When you change position in browse, you have to shortly select and (if necessary) unselect row in browse. After this your data in frame will be updated automatically. I use this idea in CHUI and I override CURSOR-UP and...
  13. A

    Progress Developer/Analyst Available

    Are you looking for a new Pregress Analyst or Programmer in USA ? If so, please consider my application for employment with you. I am a Progess analyst / programmer with 7 years of experience. I am attaching my resume in *.pdf and *.doc format. Sincerely yours, Arkadiusz Panas
Top