Search results

  1. D

    Browser: Select Row that isn't in the first viewport

    I found a solution. I have to reposition the pointer in the SDO to the record (with findRowWhere) and then call SELECT-FOCUSED-ROW(). DYNAMIC-FUNCTION('findRowWhere':U IN sdohandle, INPUT 'fieldname':U, INPUT 'value', INPUT '':U)...
  2. D

    Browser: Select Row that isn't in the first viewport

    Hey Guys, at first sorry for my bad english. I have a browser filled with records from a SDO and I want to select some rows. There is no problem if these rows are in the first viewport (12 rows in this case). But if I want to select a row out of the first viewport, for example row 25, I get...
  3. D

    Bug in Progress?

    2 times 'not Ok' with 10.1B on Windows XP. I also noticed that a few days ago.
  4. D

    Display all buffer-fields and -values

    Well, I have to do it dynamically. I'm deleting dynamically unused records and log all values to restore it probably later. I found a solution. DEFINE VARIABLE i AS INTEGER NO-UNDO. DO i = 1 TO vwhtable:NUM-FIELDS: DISPLAY vwhtable:BUFFER-FIELD(i):NAME...
  5. D

    Display all buffer-fields and -values

    Hey guys, is there a function / procedure in ABL like var_dump in PHP to display easy all buffer-fields and -values. Example: DEFINE VARIABLE vWHTable AS WIDGET-HANDLE NO-UNDO. CREATE BUFFER vWHTable FOR TABLE "customer". vWHTable:FIND-FIRST(). DISPLAY vWHTable DELETE WIDGET vWHTable...
  6. D

    Ascii

    Why you need the ASC() function to compare 2 string for differences? You can do it like this: DEFINE VARIABLE vc1 AS CHARACTER INITIAL "Aacb" CASE-SENSITIVE NO-UNDO. DEFINE VARIABLE vc2 AS CHARACTER INITIAL "aabc" CASE-SENSITIVE NO-UNDO. DEFINE VARIABLE viCnt AS INTEGER NO-UNDO. DO viCnt =...
  7. D

    running .p/,r from mouse click

    Uhm, create a Trigger i.e. a CHOOSE Trigger for Buttons ON CHOOSE OF button IN FRAME {&FRAME-NAME} DO: RUN prog.p. END.
  8. D

    Find out index flags

    It works. Thanks a lot.
  9. D

    Find out index flags

    Hello At first, sorry for my bad english. I hope you understand what I mean. Is it possible to find out the index flags (e.g. unique, primary unique, nothing)? For "unique" ich take the database._index._unique field (_index is a system table). Example: FOR EACH databasename._file WHERE...
Top