Search by Start Date Dialog

Previous Next

See Also

This scenario is part of Actions Example 9: Dialog for Search Conditions.

To create the Search Dialog, take these steps:

1. In the catalog, create a subclass of the Dialog Box class, call it "Search Dialog".
2. Insert a DATE and a NUMBER field into the Controls Group of this dialog.

Do this by dragging an esd_date and an esd_number Text Box from the Controls tab page of the catalog.

Change some visual and layout properties if you want to. Also, change the IO Format of the esd_date field to: DD-MON-YYYY

3. Rename the OK button to "Search" and compose the following method call script for it.

The best way to call the Create() method is to drag the Search Results class from the catalog to the Object Activator's Script box.

Search_Results(Variables.esd_date_1(),Variables.esd_number_1()).Window.Create()

ActionDialogOk()