Search results

  1. S

    Trigger in a Create-statement

    Hello, we have the following trigger in a "create menu-item" - statement. CREATE MENU-ITEM menu-sub3[i3] ASSIGN PARENT = menu-sub2[i2] LABEL = sMenu3.beschr TRIGGERS: ON CHOOSE PERSISTENT RUN ProgStart IN THIS-PROCEDURE (ProgName). END TRIGGERS. This works (mostly). But sometimes after I...
  2. S

    Checking the authorisation before a Windows or Dialog starts.

    Hi, we have several Smart-Windows and Smart-Dialogs where we want check the authorisation of an user when the Window or Dialog starts. Now I need to know, where I can implement this authorisation-query? In the initializeObject-procedure (after the "RUN SUPER"-statement)? And how can I exit...
  3. S

    How to change the format from an Fill-In ?

    Hi, I have a Decimal-Fill-In-Widget with the format "-zzz.zzz.zz9,99" which I entered in the Application Builder. During the programm-run it may necessary to change the format to "-zzz.zzz.zz9,9999". How can I do this. In the Programming Handbook there is the following example: display...
  4. S

    CRC-Error on two equal tables...

    CRC-Error I have two Databases which should relating to the appropriate table. When I start a program fc-prog.r with the first database it works. When I start the same program connected with the second database I get an CRC-Error (Message-Number 1896). When I compare the appropriate table...
  5. S

    SmartFrame in a SmartFolder...

    Hi, in a Main-Program I have a SmartFolder. In this SmartFolder there are 4 SmartFrames. Now I want to add a fifth SmartFrame. So I go in the "Instance Properties" of the SmartFolder and create a new tab. Then I select "SmartObject" from the Object Palette and assign the filename of the new...
  6. S

    What means ":U" at the end of format assignments?

    I often find the ":U" in Format assignments but cannot find anything about it in the documentation. For example: DEFINE VARIABLE iKontonr AS INTEGER FORMAT "9999999":U INITIAL 0 LABEL "Kontonummer" VIEW-AS FILL-IN SIZE 15 BY 1 NO-UNDO. Can anybody give me a hint?
  7. S

    Same .df-file, but different CRC.

    Hi, I have a problem concerning the CRC on a table. I generate a .df-file which I import in two databases, but after the import they have different CRC-values. I import the .df-files with the tool "sy-schema.w". The fields in this tables are absolute equal but the .r-files works only for the...
  8. S

    Access a Record two times in a for-each-statement

    Hi, I have the following for-each-statement: FOR EACH Table WHERE Table.Firma = 1 AND Table.status < 9: ... Table.status = 1. /* Table.status was: 0 */ ... END. Under special circumstance I set the Table.status from 0 to 1 in this loop. When I do so, the same...
  9. S

    Total number of pages in report builder

    Hi, is there a way to print the total number of pages on every site in a report? With PAGE-NUMBER() I can print the current page number. But I miss a function to print the total number of pages on every page. Thanks a lot for every answer. Greets Storzi
  10. S

    awful window-appearance

    Hi, when I have to display a window (.w - file) and build several work-tables / temp-tables or big Combo-Boxes during program-initialisation, this can take a few seconds and meanwhile the window looks awful. That is to say miscellaneous scopes are complete white till the...
  11. S

    How to use DLL-Events???

    Hi, we have the PDF-Printer "eDocPrintPro" in use. We can activate and access the ole-Object with the following code in Progress (9.1d): DEF VAR edoc AS COM-HANDLE NO-UNDO. DEF VAR actionpage AS COM-HANDLE NO-UNDO. DEF VAR destinationpage AS COM-HANDLE NO-UNDO...
  12. S

    Lisview with decimal?

    Hi, I am working with Progress 9.1D and have a ListView in a SmartWindow. In this ListView I want to display a decimal-variable with the format (for example: 1.499,99). Here the code where I put the variable in the ListView: ASSIGN nkey_# = "max. Ankauf," +...
  13. S

    Auto-Select all row`s in a browse

    Hi, I want to Auto-Select all row`s in a Freeform-Browse when I click on an Button. I use 9.1D. Thanks. Storzi
  14. S

    Report Builder - Error

    Hi, I am working with Progress 9.1b and call reports with _printrb.p. Now I get the error (I will try to translate from german to english): DB Request Error more than 4096 strings in one expression use --Parameter -inp (135) ** after 'and table-name' incomprehensibly . (247)" Maybe their are...
Top