Selecting rows from more than one table
Issue 3.0 May 2002
153
Report design with data from two tables merged in a field
Notice that the
Percent of Split Calls
field merges data as discussed in our
example. Also notice that Row Search ID #2, which is assigned to the
Percent of
Split Calls
field, contains the row search statement as discussed in our example.
04/19/95 00:30 AM
Avaya(TM) CMS
Windows: 1 of 5 ^
Custom Reports: Hist: agent excepts
Split: $$$$$$$$$$$$$$$$$$$$
Split ACD
Date: $$$$$$$$
Calls
Field Window
Select: hagent.LOGID__________________________
______________________________________
Add highlights
Bar
Copy block
Define input
Erase block
Field
Get copy of design
Move block
Row search
Save design
Test design
Upper/left no-scroll
Variable/time/date
Time: $$$$$$$$$$
Percent
Agent ACD
of Split
Agent
Calls
Calls
0vvv
0vvvvv
2vvvvvvv
1xxxxx
Field Window
Select: 100*(hagent.ACDCALLS/hsplit.ACDCALLS)__
_______________________________________
Field Window
Select: hagent.ACDCALLS_______________________
______________________________________
Row Search Window
Row Search ID: 2
From tables: hsplit, hagent
Select rows where: hsplit.SPLIT = $i_split and hsplit.ROW_DATE = $i_date
and hsplit.STARTTIME = $i_time and hsplit.ACD = $acd
and hsplit.SPLIT = hagent.SPLIT and hsplit.ROW_DATE =
hagent.ROW_DATE and hsplit.STARTTIME = hagent.STARTT
IME and hsplit.ACD = hagent.ACD
Field Window
Select: hagent.ACDCALLS_______________________
______________________________________