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
2uses theDISPLAY BY NAMEsyntax to display the contents of the program recordmr_custrecto the form fields having the same name.