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:
  1. Open the Tables window.
  2. 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.
  3. Click the radio button for Popup.
  4. Click Next. The application displays a second window.
  5. 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.
  6. If the data in the window should not be modified, clear the Editable? check box.
  7. Enter the retrieval argument and, if necessary, the Where Clause that determines what data appears in the popup window.
  8. 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:

  1. Use the steps in Update Window Using Design Mode to activate design mode.
  2. Display the window that contains the column that will have the hyperlink.
  3. Right-click the pane containing the column and then click Change Control Properties. The application displays the User Control Properties dialog box.
  4. Click the Data Window tab.
  5. In the lower pane of the tab, locate the column that will contain the hyperlink.
  6. In the record showing the column, click the Is Link check box.
  7. In the Target Window ID column, enter the popup window ID that you wrote down in the previous set of instructions.
  8. In the Retrieval Args column, enter the argument for the data to be retrieved and passed to the popup window.
  9. Click OK to close the dialog box.
  10. Click the icon. The application asks if you wish to save the new layout.
  11. Click OK to save the new layout.
  12. Exit Design Mode by clicking the Settings menu to display the Design Mode switch and then click the switch to set it to off.

  • No labels