Search results

  1. M

    ADM2 SmartDataBrowser Question

    In the browse widget create a trigger for the event “RIGHT-MOUSE-SELECT-CLICK” this will trap when the user clicks / selects with the mouse. For the trigger this is the part you wish to know which row in the db has been selected to pass to the smart object. Define a variable crow then assign...
  2. M

    pt_mstr, bom_mstr

    pt_mstr = part master table.bom_mstr = bill of measure master table.A part has to exist on the pt_mstr to be able to bill it - be on the bom_mstr table. So how can you construct and bill from bom_mstr if the part is not on the pt_mstr table??Hope this makes sence 2 U and U can work with it.
  3. M

    Greetings!

    Progress has NOT changed. The Progress product has EVOLVED into OpenEdge - Advanced Business Logic.The strength of the product is backward compatability (are you watching Micro$oft).The future is bright, the future is OpenEdge ABL
  4. M

    Future Of Progress Rdbms/4gl

    That is right the future of Progress 4GL is DEAD which is why the development tool /ADE is now unheard of. The future is bright the future is OpenEdge ABL advanced business application Move with the times and the product. No longer programming, arcitect advanced business logic / applications
  5. M

    Any good techique for data entry?

    That is a rather ambiguous request. Do you wish to share a little more information of requirements?You obviousley require a handle to the row - an invoice number. A customer number who the invoice is to be collected by. A date. An amount to be recovered. With order details, item /...
  6. M

    A new look for an old interface

    The Progress browse widget is by far one of the strength;s of the language /ADE. There a re number of integratable active-x available for download, though the PSC widget is highly advanced in itself. There are a lot of other issues with additional components like the data src issue. PSC...
  7. M

    FTP File Transfer Protocol Windows API

    Greetings,I have recently created a data analyzing application using the ABL. For the FTP attribute I found it a lot simpler to use an ocx. For which I supplied parameters of username, password and the web space URL.This process was a lot simpler than straight commands. The ocx was freely...
  8. M

    loopig for feting values from a table

    Re: loopig for fetching values from a table This question is totally ambiguous. You have failed to declare the indexes that are available to Progress.
  9. M

    Report Pgm, Doubt(have included the code)just rewrite it.

    Greetings you need to play about with flags. This should get you started:/* vars */DEFINE VARIABLE lgQuit AS LOGICAL NO-UNDO./* block *//* initialize */ASSIGN lgQuit = FALSE. REPEAT WHILE lgQuit = FALSE:/* action block here *//* decide if user done enough to drop out, asses...
  10. M

    Saving .p .w .i .htm in UNIX Format

    In the src (machine developing on). Simply edit and develop the code. Output to a flat file (text file) e.g. Unix machine. Open the created src on the Windows machine applying appropriate formatting as required. The Progress / OpenEdge compiler will be consistent.
  11. M

    sample invoice creation program

    This is a rather ambiguous request.Invoice relating to ... ???Data structure???
  12. M

    FOR FIRST vs FIND FIRST?

    FOR FIRST is telling Progress: "go off an interrogate the data, I expect multi rows to be returned that match criteria though I am only interested in the first row found" FIND FIRST is telling Progress: "go off an interrogate the data, I expect mylti rows to match the criteria though I am only...
  13. M

    How do it like “file_name070508.txt”

    That is a lot of syntax. Try this simpler method, using the Sportsdb apply to your needs:DEFINE STREAM stDoc .OUTPUT TO "c:\doc.txt".FOR EACH Customer NO-LOCK:DISPLAY CustNum.END.Hope this helps
  14. M

    fill-in fields basics

    Greetings,Simple math here.DEFINE VARS for the 2 values gathered by the widgedts (fillins).ASSIGN the SCREEN-VALUE of the widgets to the vars.Math function var1 - var2 = resulte.g.DEFINE VARIABLE iX AS INTEGER NO-UNDO.DEFINE VARIABLE iY AS INTEGER NO-UNDO.DEFINE VAIRABLE iR AS INTEGER NO-UNDO.DO...
  15. M

    Sorting by a calculated field

    Lets look at this logically. Is there anyway to sort a calculated field without using a buffer (temp table). How can U sort something without processing a result first. For sorting purposes. An array of numbers, the calculated fields can simply be compared against each other without applying...
  16. M

    How to use a Procedure

    For readability define a handle, helps error trappin. Remember somebody else will have to read & debug the code. Supplin a handle will help, even if the handle is simply THIS-PROCEDURE. The debugger will know instantly where to look. If the block is in a persistantly ran object ala ADM(1) /...
  17. M

    How to use a Procedure

    IF the .p file is in your propath then simply:Run fileName.p IN THIS-PROCEDURE.ELSE RUN c:\path\FileName.p IN THIS-PROCEDURE.
  18. M

    Applying row entry to a browser?

    Basically you require a handle to the record of the selected row in the first browse to pass as a parameter to the second window & browse to make Windows select that row.On the 'row-entry' trigger you are using eg MouseSelectDoubleClick assign the ROWID to VarROWID RUN whatever.w (INPUT...
  19. M

    How to implement "NOT EXISTS"?

    This is the basic syntax rewite to apply. FOR EACH tableName NO-LOCK WHERE row attribute required criteria (fields) <> cVariableWhateverValue: /* process here for the row selected eg assign row to tempTable */ END. /* EACH tableName */ Good luck.
  20. M

    What should i do Next?

    Are you using ADM(1) with your V8?? The Progress product is not really supported any longer. OpenEdge is the future, though as with all Progress Software Corp products backward compatability is realized. Why are you even bothering with the outdated V8, instead you should be concentrating on...
Back
Top