Saving the Query

Save a query at any time you are working on it.

  1. Select File > Save As Query.
    PowerBuilder displays the Save Query dialog box.
  2. In the Save Query dialog box, enter a name for the query.
    The query name can be any valid PowerBuilder identifier up to 255 characters. Use a unique name for each query. A common convention is to use a two-part name: a standard prefix that identifies the object as a query (such as q_) and a unique suffix. For example, you might name a query that displays employee data q_emp_data. For information about PowerBuilder identifiers, see the PowerScript Reference.
  3. (Optional) Enter comments to describe the query.
    These comments appear in the Library painter. Sybase recommends that you use comments to remind yourself and others of the purpose of the query.
  4. Specify the library in which to save the query, and click OK.