Search results

  1. L

    Question Date Format

    Or optionally you can do this: message replace(string(article.Date),"/","-") view-as alert-box information.
  2. L

    CAN-DO

    Rob, One PUG meeting here in Philly (when they used to have them) had someone give a talk on various for each timings (was in the OE10.x days). A function that has a constant value such as what you have in your code in the where clause, was shown to be slightly slower (in some fraction of...
  3. L

    Question String Manipulation Problem - Urgent

    The method to create a hyperlink is really dependent on the type of document and the process you use to create the document (and it might not even be possible), so I couldn't imagine how I or anyone else might offer any suggestions. The only one that might work is using the tinyurl to convert...
  4. L

    Question String Manipulation Problem - Urgent

    What kind of "doc" are you creating? Word? Email? Something else? You may also be able to create a hyperlink depending on what you are creating.
  5. L

    Question String Manipulation Problem - Urgent

    Unless you really need that large display, why not use the tinyurl API ? Here is an example using curl (*nix) at the command line and it could easily be scripted and use input-output stream for the input parameter and the result: curl...
  6. L

    Question Webservice to get geo codes

    The problem with google is that while free, the TOS is very restrictive as to use. And many of the other free ones are limited as to how many queries you can perform over a period of time. There are a number of paid services (as noted, Google search is your friend here). For our customers, we...
  7. L

    Resolved Slow browse display on open query statement

    Another possible option would be to add an index for MemInf.FName and an index for MemInf.lNAME if you don't have them already, then do something like the following: def var lv-fname as character no-undo. def var lv-lname as character no-undo. assign lv-fname = entry(1,SELF:SCREEN-VALUE,"...
  8. L

    Question How can I read "\" as a character in progress

    I think that the problem is that on *nix, unless the backslash is escaped ( with a tilde "~t" or second backslash "\\") it will always be interpreted as the *nix equivalent. In the above, it treats "\t" as a tab. \\t or ~\t will be interpreted properly. Same would hold true if it was "\n"...
  9. L

    Question How can I read "\" as a character in progress

    Osborne's code works fine on Linux 10.2B. This does too: def var abc as char. def var xyz as char. abc = "abc~\test1". disp abc format "x(25)". xyz = replace(abc,"~\","_"). disp xyz.
  10. L

    Question UPS Tracking API integration with ABL ?

    Has anyone successfully created web services ABL code that works with the UPS Tracking API? I'm asking for any hints or ideas as to what is or is not going on or if somehow I need to do some hacking within the wsdl they provided. (I can include the wsdl here if it would help). I was able to...
  11. L

    Substrinng without "/"

    REPLACE(mystring,"/",""). Is that what you are looking for?
  12. L

    Question How Can I create Directory in Unix

    DOH! I totally forgot that one, Rob. And additionally, no error is generated if it already exists. Or you can check if there is another type of error by checking OS-ERROR.
  13. L

    Question How Can I create Directory in Unix

    You can do this: FILE-INFO:FILE-NAME = "/output/" + loginusername. if FILE-INFO:FILE-TYPE = ? then do: os-command silent value( 'mkdir ' + "/output/" + loginusername ). end.
  14. L

    Usage of Index

    Not to get into a religious war (although I do agree that USE-INDEX is bad practice and I don't really ever use it), I can think of one instance (and perhaps incorrectly) where use-index MAY (and I am no longer sure) be used. Say you have an order table where the ord-num is the primary index...
  15. L

    Question proparse propath problems.

    A simple url shortening goes to here: http://www.joanju.com/dist/ And at the bottom is the source files manifest, where you could very easily right click/save as in appropriate directories. Would likely take maybe a minute? Otherwise I'd suggest using google to see if you can find a nicely...
  16. L

    Question proparse propath problems.

    Is this what you were looking for? http://www.joanju.com/dist/docs/api.html (has links to source .p's) Otherwise, besides oehive there is a .net and java versions here: http://www.joanju.com/proparse/index.php
  17. L

    Question Maximum Database Connections

    Check out this thread: http://www.progresstalk.com/threads/type-ii-cluster-size-and-d-l-vs-multi-threaded-for-each.123068/ Some excellent resources (and also a video of Tom's presentation which is a great source of knowledge)
  18. L

    Question Type II cluster size and D&L vs. Multi-threaded For Each

    Rob, I wish I had known of Tom's video presentation because that explained the Type II layout and how it works beautifully. (Thanks Tom!). I had reviewed his power point presentation, but I must admit the video made it extremely clear. (and there was even a rare sighting of Gus!). I'm also...
  19. L

    Question Type II cluster size and D&L vs. Multi-threaded For Each

    Cringer, it is indeed. I'm old enough to know that there is plenty I don't know even though I've been in this business for 40+ years, 15 years with Progress. Used to be the PEG as the goto place, but I don't have the bandwidth or time for all that traffic. This thread (and others) keep me...
  20. L

    Answered SYSTEM ERROR: Unexpected block type ITBLBLK encountered in upanalys

    Rob, just got notification that 11.3.2 got released today. As soon as Progress puts it in our download area, I'll get it installed and let you know if the issue is resolved. UPDATE: Just installed 11.3.2 and all is well with dbanalys and tabanalys. FYI -- This only affected *nix.
Back
Top