Recent content by Don Alexander

  1. D

    Colors in browse

    In the row-display event of a browse you may set the background and foreground color of any or all of the fields in the row to be displayed. quick example for a browse (brw-1) displaying fld-1 and fld-2 in row-display event put following code if fld-1 = "anytestvalue" then do...
  2. D

    Popup Calendar

    Calendar I have written a calendar function in V8 gui that you can pop-up virtually anywhere. It has a single parameter that returns a date selected. It is perpetual and you can select year and month. Also displays julian date and days remaining in the year for highlighted date. The pgm...
  3. D

    Dumb question about frames...

    Try this for positioning cursor back to the desired field. if field-name not entered then do: message "you must enter this field" view-as alert-box warning buttons ok. apply "entry" to field-name in frame xxxx. return no-apply. end. You MUST specify the frame name...
  4. D

    Problems with Transactions

    Try enclosing any database updates within the for each with a block that will allow the scope of the transaction(s) to be smaller. for each xyx: program code find nofile exclusive-lock. update nofile. program code end. this will scope the transaction to the...
Top