Previewing the query  Modifying a query

Chapter 17: Defining DataWindow Objects

Saving the query

You must supply a name for each query that you save. The query name can be any valid PowerBuilder identifier up to 40 characters. When you name queries, use a unique name to identify each one. 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 valid identifiers, see “identifier names” in the online Help.

StepsTo save a query:

  1. Select File>Save Query from the menu bar.

    If you have previously saved the query, PocketBuilder saves the new version in the same library and returns you to the Query painter.

    If you have not previously saved the query, PocketBuilder displays the Save Query dialog box.

  2. Enter a name for the query in the Queries box.

  3. (Optional) Enter comments to describe the query.

    These comments display in the Library painter. It is a good idea to 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.





Copyright © 2004. Sybase Inc. All rights reserved. Modifying a query

View this book as PDF