Search results

  1. T

    Simple CIM Load Instruction?

    I'm way back on 85.h. I have never CIM loaded anything. I'm getting confused by the papers I'm reading from QAD. Can anyone instruct me in simple language how to take data like: (text file obviously) 40005 FDS 40006 FDS 40007 CPD ...ect. and put it into pt_mstr (the FDS/CPD stuff goes in the...
  2. T

    Can I skip locked records?

    If I'm doing a FOR EACH thru a table that has a locked record (by a user) is there any way to either look at it only or skip it and move on? ( I can't access the program that is locking the record)
  3. T

    Help speeding this up

    This is very basic but so am I. I have a table "A" with 100,000 header records. The detail table "B" has 350,000 detail records. I'm looking for all records (headers and detail) with "datafield" >= yesterday. My script: for each A where A_date >= (today - 1) no-lock: for each B...
  4. T

    How do I get CR/LF after each record?

    This code delivers a text file but all records are strung out in 1 long string. How do I get them to be on separate lines? if last-of(sod_due_date) then do : export stream outer delimiter "," sod_due_date starttot runtot...
  5. T

    How do I cause an F4 keypress?

    My code is: if a_runtot <> 0 then update a_factor with frame bill. if a_runtot = 0 then do: update a_runtot with frame bill. wink2 = wink1 - a_runtot. assign a_startrun = wink2. display "Press F4" with frame bill. end. update a_factor with frame bill. wink1 =...
  6. T

    How do I repeat this set of code?

    I know you will cringe at my code stucture by its part-time and I'm trying.. The following works well, but I need it to repeat at the end and go back to the top for another item input, unless F4 is pressed. Can someone help show me how I might accomplish this. Note the statements at the top...
  7. T

    What code will do this?

    I have a TEMP-TABLE with 5 records in it. Each record has 3 fields. The records show like this when I run a FOR EACH on the table: 10/7/04 Bill N-12345 10/8/04 Mary N-54321 10/10/04 Ted N-65456 10/12/04 Mark N-55668 10/15/04 Sue N-54390...
  8. T

    Help with printing direction please

    In my character develpment environment, I need to direct the printer output to the default printer on the user's system (Windows). Now, I can only accomodate printers on my system using the command: OUTPUT stream printer Through lp -d VALUE(dfile) paged. Is there a command that will...
  9. T

    Can a Progress DB be mirrored?

    We have a Progress 8.3b database. We would like to mirror (real time) the db on a different server using a different type of DB. Then be able to query that othe DB using SQL queries and programs. What options are there to do this?
  10. T

    Help with batch process please

    I have constructed a batch process (just a simple one to try to make one work). I am using MFG/Pro ver 8.5h. I find the instruction for getting the components established to be a bit confusing but have done my best. When I try to run it I get and error: "Attempt to write with no current...
  11. T

    Need To Print 2 copies of some docs

    Can anyone instruct me as to how to set up a printer in QAD to print 2 copies of anything sent to it. I can't just set the printer itself this way as it has other uses on the network. QAD suggested I set up anothe print que just like the existing one for it but add the control codes necessary...
  12. T

    Promon won't see my DB

    I have an 85g db running as out main db. The db is on UNIX and at locaiton /app_dsk/data/qad/rfp01.db If I type promon rfp01 (the name of the db), promon launches and runs fine. I have a version 91d db running also. Its location is /app_dsk/data/91d/rfp01new.db If I type promon rfp01new, I...
  13. T

    MFG/Pro ver 8 to eb2 conversion

    Hi... I need to convert a version 8 db to eb2. I'm not sure what the best tact to take is in this adventure. Can anyone give me some help? How you knew the steps? Are there any point-by-point conversion tutorials or places I can learn? Thanks. Bob
  14. T

    How to parse the .lg file?

    We are a MFG.PRO shop. Basically, MFG.PRO runs on Progress. I need to be able to determine the number of concurrent users on our system for points in time over the last 4 months. I know the .lg file has such information, but is there a convenient way to get the info I want from it, or do I...
  15. T

    What code will print schema to file?

    Prograess 4gl. What code can I run to print a table's schema to a file?
  16. T

    What code will print schema to file?

    Progress 4GL. What code can I run to print the schema for a table?
  17. T

    Can PROMON be run using parameters?

    I know how to run PROMON and disconnect a user. Is it possible to run PROMON and send it parameters to do the same thing so that it can run non-interactive?
  18. T

    Can PROMON be run using parameters?

    I know how to run PROMON and disconnect a user. Is it possible to run PROMON and send it parameters to do the same thing so that it can run non-interactive?
  19. T

    Any QAD customers to answer this?

    In QAD, you can use "lvmon.p" to monitor user activity and idle time. I want to write a 4GL prog that can watch this activity and notify me when someone goes past 30 min idle on the main menu. Does anyone know what table this program (lvmon.p) puts its stuff so I can program against it?
  20. T

    Can I use vaiables in a FOR EACH?

    In 4gl. How can i put a variable in a FOR EACH statement? Like this... DEFINE variable as CHAR. variable = "master". FOR EACH variable NO-LOCK: DISPLAY variable WITH FRAME frame1. (the above doesn't work by the way) thanks rbender@rosina.com
Top