Unclick the options for adding, updating and deleting records
Choose all other wizard defaults
Add file XL_WEBDEMO/MU_ORDHF
Choose to add another file and add XL_WEBDEMO/MU_CUSTF
When it prompts you to create a link between the files, you can choose Cancel.
Creating a link is not required because we are using SQL to access the files.
For the subfile display:
Add field OHORD from MU_ORDHF
Add field CMNAME from MU_CUSTF
Add field OHOTOT from MU_ORDHF
For the full record display:
Add field OHORD from MU_ORDHF
Add field CMNAME from MU_CUSTF
Add all other fields from MU_ORDHF
On line 172, change the value of selstring to: selstring = "SELECT rrn(MU_ORDHF), OHORD, CMNAME, OHOTOT FROM MU_ORDHF, MU_CUSTF WHERE (OHCUST = CMCUST)";
If you do not have line numbers enabled, you can do so by following this instructions:
Go to the Tools menu at the top
Choose Options
Click the HTML tab
Click the two Line Number checkboxes
On line 259, change the sqlexec statement to: sqlexec("SELECT OHORD, OHDESC, CMNAME, OHORDT, OHSTAT, OHOTOT, OHTAX, OHWHSE, OHCUSH, OHSHPDT, OHINV INTO :OHORD, :OHDESC, :CMNAME, :OHORDT, :OHSTAT, :OHOTOT, :OHTAX, :OHWHSE, :OHCUSH, :OHSHPDT, :OHINV FROM MU_ORDHF, MU_CUSTF where ((rrn(MU_ORDHF)= :rrn) AND (OHCUST = CMCUST))");