14. Demo Code Resource - Sample Active Server Page

This example shows a snapshot of a Code Resource that compiles an active server page.
Elements contained by the <%>...</%> are executable Omnis code.

Note:
This Code Resource contains a call to an Omnis Studio Code Method cData/ $FindContacts that receives a search parameter (pFIND) and returns results into a List Variable (results) that has been declared in the Code Resource between the <%!..%> tags. This Omnis Studio Code Method is shown on the next screen.