Previous Topic: Entry Field Options: WHERE (condition)

Next Topic: Example 2: Entering Selection Criteria within the Period Number Field


Example 1: Entering Selection Criteria Within the Charge Element Field

To select the records that meet the criterion Charge Element = CPU-CHARGE and display results in a summary report:

+-- CBQQRYS ------------- Charge Query Specifications ------------------------+ | Panel Exit Help | | --------------------------------------------------------------------------- | | Type information for Query CPUCOST Desc CPU COST FOR PER.1-3 Table TAB | | | | Summarize Y Break N Bud/DBCR N Version : PROD PROD | | A. Brk Srt Op Sum | | ORD Type . . . . N Rec Count > SUM | | Charge Element . CPU-CHARGE B. N Units . . > SUM | | Qualifier . . . N Rate . . . > AVG | | Period Number . thru N Charge . . > SUM | | DIVISION . . . . N | | DEPARTMENT . . . N | +-----------------------------------------------------------------------------+

The next panel shows the results of entering CPU-CHARGE in the Charge Element field. Note the following:

+-- CBQQRYZ ----------------- Charge Query Results ---------------------------+ | Panel Exit Help | | --------------------------------------------------------------------------- | | More: + - 1 Row: 0001 of 0001 | | Table . . . . . : TAB | | Version . . . . : PROD PROD Record Count : 134 A. | | ORD Type . . . . : Units . . . : 68.16665 B. | | Charge Element . : CPU-CHARGE Rate . . . . : 159.05882 AVG C. | Qualifier . . . : Charge . . . : 14459.99500 D. | | Period Number . : Debit Amt . : | | DIVISION . . . . : Credit Amt . : | | DEPARTMENT . . . : Adjust Charge: | | Budget . . . : | | % of Budget : | | | | F7=Bkwd F8=Fwd | +-----------------------------------------------------------------------------+