Previous Topic: Example 1: Entering Selection Criteria Within the Charge Element Field

Next Topic: Example 3: Entering Multiple Selection Criteria


Example 2: Entering Selection Criteria within the Period Number Field

To select the records that meet the criterion Period Number > = 001 and < 003 in a summary-with-breaks report:

+-----------------------------------------------------------------------------+ | Type information for Query CPUCOST Desc CPU COST FOR PER.1-3 Table TAB | | A. | | Summarize Y Break Y Bud/DBCR N Version : PROD PROD | | Brk Srt Op Sum | | ORD Type . . . . N Rec Count > SUM | | Charge Element . N Units . . > SUM | | Qualifier . . . B. N Rate . . . > AVG | | Period Number . 001 thru 003 Y C. Charge . . > SUM | | DIVISION . . . . N | | DEPARTMENT . . . N | | | | F2=Exec F5=Save F6=Delete F11=Refresh | +-----------------------------------------------------------------------------+

The next panel shows the results of entering a numeric value in the Period Number field.

+-- CBQQRYB ----------------- Charge Query Results ---------------------------+ | Panel Exit Help | | --------------------------------------------------------------------A.----- | | More: + - 1 Row: 0001 of 0003 | | Table . . . . . : TAB | | Version . . . . : PROD PROD Record Count : 2 B. | | ORD Type . . . . : Units . . . : 2.00000 C. | | Charge Element . : Rate . . . . : .50000 AVG D.| | Qualifier . . . : Charge . . . : 1.00000 E. | > Period Number . : 1 Debit Amt . : | | DIVISION . . . . : Credit Amt . : | | DEPARTMENT . . . : Adjust Charge: | | Budget . . . : | | % of Budget : | | | | F7=Bkwd F8=Fwd | +-----------------------------------------------------------------------------+