% ERROR: IF !USED("TT_CUST") USE TT_CUST in 0 ENDIF SELE TT_CUST LOCATE FOR Company = "Windsurf" RETURN "" % >
This page demonstrates how a scripted HTML page handles errors. The offending fields are embedded with an error message into the document for easy debugging.
Company: | < % ERROR: =TT_cust.Company % > |
Contact: | < % ERROR: =TT_cust.Careof % > |
Address: | < % ERROR: =TT_cust.Address % > |
Phone: | < % ERROR: =TT_Cust.Phonee % > |
Fax: | < % ERROR: =BadUDF() % > |
Email: | < % ERROR: =TT_Cust.Email % > |