To assign a data structure to a form for storage of collected data, use the set form data structure function, sfm_datap()
|
Note that you must include the header file containing the structure for the data storage for the form in the module where you call sfm_datap().
To resolve the functions called by a form, use the set form function list function, sfm_funclist():
|
To assign a choice list memory file to a form, use the set form memory file choice list function, sfm_mfclist():
|
Generally, you would use sfm_mfclist() in situations where you do not want to define the memory file before reading the form from the Designer library. For example, you may be building the choice list dynamically, based on data that the user has entered in previous forms.
Thus, the dl_fmget() call below:
|
can be replaced with the following calls:
|
Resolving or Overriding the Data Reference for One Field
Resolving or Overriding the Data References for a Scrollable Region
Resolving or Overriding the Choice List Memory File for One Field