Rule Builder > Queries and Facilities > Working With the Query Editor > Query Example for an Extended Repository

The standard extended repositories provides the properties author, effectiveDate, expirationDate, and status. You can use these properties in queries singly or in any combination you want.

To create a query using these properties:

  1. Click Standard Extensions on the New Repository entry of the File menu to open a new extended repository.
  2. Right-click New Project in the Query Explorer and then click Add Package on the shortcut menu.
  3. Right-click new package in the Query Explorer and then click Add BAL Rule on the shortcut menu.
  4. Click the new BAL Rule to select it in the Query Explorer and set the extended repository properties effectiveDate, expirationDate, and status properties to any allowed value you want. The author property is automatically set to the name of the person that created the rule.
  5. Click Query Editor on the Query Panels entry of the View menu.
  6. Create a query using one or more of the extended repository property values you have set in the Property sheet, see Figure 17.6. This example includes all four of the properties
  7. Click the images/executequery_icona.png button to execute the query and view the results in the Query Results panel, see Figure 17.6:

  8. images/bqlExample1.png
  9. Figure 17.6    Query Example Using the Extended Repository Properties

See Also

Query Examples | Extended Repository Properties | Creating a New Extended Repository


Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. PREVIOUS   NEXT