You can extend the program to work with statements that are not known beforehand as for any dynamic SQL program.
Read about the following statements in the Mimer SQL Mobile Reference Manual if you want to construct a dynamic SQL application: PREPARE, DESCRIBE, and SET/GET DESCRIPTOR.
For more information on preprocessing embedded SQL, see Mimer SQL Programmer's Manual, Processing ESQL.