To display data from a table in a window that "pops-up" when you click a hyperlink in a column or retrieve inventory information via a map, use the following steps:
- Open the Tables window.
- Locate the table for which you will create a popup window. Right-click the record showing the table and then Make Window. The application displays a new window. The default selection in the dialog box is to create a data window, not a popup window.
- Click the radio button for Popup.
- Click Next. The application displays a second window.
- In the second window, check that the window title is what you want. If necessary, modify the title as desired. Also, write down the popup window ID as this will be needed when configuring the hyperlink or map theme.
- If the data in the window should not be modified, clear the Editable? check box.
- Enter the retrieval argument and, if necessary, the Where Clause that determines what data appears in the popup window.
- Click OK to create the window.
Once the popup window is available, configure the column that contains the hyperlink that will display the popup window. Use the following steps:
- Use the steps in Update Window Using Design Mode to activate design mode.
- Display the window that contains the column that will have the hyperlink.
- Right-click the pane containing the column and then click Change Control Properties. The application displays the User Control Properties dialog box.
- Click the Data Window tab.
- In the lower pane of the tab, locate the column that will contain the hyperlink.
- In the record showing the column, click the Is Link check box.
- In the Target Window ID column, enter the popup window ID that you wrote down in the previous set of instructions.
- In the Retrieval Args column, enter the argument for the data to be retrieved and passed to the popup window.
- Click OK to close the dialog box.
- Click the icon. The application asks if you wish to save the new layout.
- Click OK to save the new layout.
- Exit Design Mode by clicking the Settings menu to display the Design Mode switch and then click the switch to set it to off.