Database Guide

Running a query

There are several ways to run a database query. One way is to run the query when your window opens:

  1. Connect the window's aboutToOpenWidget event to the multi-row query part's executeQuery action. This runs the query and fills in the results just before the window opens.
    Note:If you have packeting enabled, use the openedWidget event to trigger the query. The result table will be filled in just after the window opens.
  2. Now test your visual part by selecting test.
  3. Play with this window to see how the query you have defined is run and how its result table is displayed.
  4. Be sure to close the window when you are finished testing your part.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]