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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.