In order to have dynamic forms, Querix4GL has a dynamic function equivalent for every form statement. When declaring form definitions, namely OPEN, DISPLAY and CLOSE, it is necessary to specify the argument, such as the form name. With dynamic form functions these names can be a variable.
Dynamic form functions provide the same functionality as form definitions, except that they can use variables instead of specific names.
To display a form in 4GL you have the following code:
DISPLAY form1
Which would have, as an equivalent:
LET form_name = "form1"
CALL fgl_form_display(form_name)
When you specify a form name, be careful with its case.
UNIX is case-sensitive, so it will treat forms which names come in different cases as separate files.