Example: custquery.4gl (function display_cust)
This function displays the contents of the mr_custrec
record
in the form.
Function
display_cust
: 1 FUNCTION display_cust() RETURNS ()
2 DISPLAY BY NAME mr_custrec.*
3 END FUNCTION
Note:
- Line
2
uses theDISPLAY BY NAME
syntax to display the contents of the program recordmr_custrec
to the form fields having the same name.