Search results

  1. L

    dump_d.r files

    Try removing the src/ from your run statement so it looks like: RUN prodict/load_df.p ("test.df").
  2. L

    Script for Creating new Extents

    If you are running Linux, you can script it. here is the command for file size: cd dbextdir # finds all files with size greater than 1.5GB find ./ -size +1500000k > bigfiles.txt cd biextdir # finds all files with size greater than 1.5GB find ./ -size +1500000k >> bigfiles.txt You can...
  3. L

    Disable database CRC check?

    jmac, Below is a snippet of the code to load delta df's. We only use Linux servers, but this would be applicable to Windows too. Our db name is "ot". We have some other logging and validation checks, but this is the part that loads the delta df. if proversion begins "9" and...
  4. L

    Disable database CRC check?

    This is probably in the category of "duh", but we've scripted our customer updates. It would take a little work, but it's actually quite simple. Here is our process: 1) Zip up new/all source code and the delta df's (if any) then send this to the customer (we do various methods to get it to...
  5. L

    How to change dcolor of cell in browse widget - CHUI

    Is this GUI or chUI?
  6. L

    ODBC Not Installed

    It's been my experience in the past that OpenEdge "Complete" install does not necessarily install everything that is available based on the license(s), and you need to use custom and drill down into each of the products to insure that everything you want installed actually is checked to install.
  7. L

    Underline a word in a report

    rzr... UNDERLINE works on the screen, but in a text file it just puts individual dashes. Thanks for the suggestion though. Here is the output to the screen, which looks like I want the text file to look: Customer name ────────────────────────────── Miscellaneous...
  8. L

    Underline a word in a report

    Does anyone know of a method within the ABL in a non-Windows environment to underline (solid underscore) a word, series of words, or column header in a simple text report rather than using the old standby as dashes in the line following? I've looked in the kbase and googled, but cannot seem to...
  9. L

    Cross-platform printing

    Rob, Our legacy code did exactly what you did, with printers defined in the db with the appropriate PCL to send escape codes. Note that we work strictly on various flavors of Linux and *nix. A few years ago, though, I wrote a front end to pdfinclude that works extremely well for us, and...
  10. L

    probkup parameters

    The database name?
  11. L

    Total amt

    Amen, Greg.
  12. L

    How to Allow database extents larger than 2Gb in Progress

    Tom has given you the solution for the Enterprise version. If you have workgroups, though, I believe that enabling large file support (> 2GB) is not available. You also didn't say whether it's the data extents or bi extents where you are having this issue. In both cases, you just have to add...
  13. L

    Print document via wordpad

    Not sure what printer you have, but here is a programming guide for Epson ECS/POS commands. http://postechgroup.com/updata/support/drivers/EPSON/FAQ_ESCPOS.pdf You could also google for your specific printer programming guide.
  14. L

    Converting integer field to character field

    As to the right alignment, the code would be (and you could set it into a function or whatever): FILL(" ",10 - LENGTH(TRIM(myfield))) + TRIM(myfield) A few options: - add another field in your db that is the right adjusted value, use the code above in either a trigger or some other code to...
  15. L

    How to Express SQL "IN" statment in Progress

    Be aware that INDEX looks for the characters you have in a string as opposed to LOOKUP which searches for the value in a delimited list. e.g. INDEX("123,34,5678","12") will find the value of 12 (would return a 1), whereas LOOKUP("12","123,34,5678") will NOT find it.
  16. L

    DO FOR <record> TRANSACTION

    I'm making the assumption that you need to update order or order-line or other tables with the value of the vUpdateNo ? If so, here is a potential rework of the logical progression of your code to minimize the time the order-control record is locked: def temp-table ttUpdate no-undo field...
  17. L

    StandBy memory

    Yes, indeed... thanks Rob! It's really nice to have see explanations as to how all this stuff works internally (or in Windows case, infernally?)
  18. L

    Character User Interface - help

    Don't know if there's anything else out there, but John Campbell's book was always deemed a Progress bible: http://www.wss.com/publications/making_good_progress.html
  19. L

    problem java select statement and fieldnames

    Acccording to kbase entry P11495: There are two ways to reference a table or field name with dashes, hyphens or reserved words: 1) Use double quote on table names. For example: SELECT * FROM pub."Customer-Name" Order is a SQL Reserved Word and needs to be in quotes. For example, SELECT *...
  20. L

    Database Repair: attempt to update non-existant extent. Area: 7 Extent: 1

    What does prostrct list on the DB in /progdba1db01 show?
Back
Top