G
Gary B
MASTER Table: CHARGES
Fields: ChargesKey, ChargesDate
Data: Row1 = 1, 05/25/2004
DETAIL Table: SERVICES
Fields: ServicesKey, ChargesKey, ServicesDate, SalesRepKey
Data: Row1 = 1, 1, 05/25/2004, 5
Row2 = 2, 1, 05/25/2004, 5
I need to return the Count of CHARGES(ChargesKey) for each SalesRepKey. In
the above example, the result should be 1
Fields: ChargesKey, ChargesDate
Data: Row1 = 1, 05/25/2004
DETAIL Table: SERVICES
Fields: ServicesKey, ChargesKey, ServicesDate, SalesRepKey
Data: Row1 = 1, 1, 05/25/2004, 5
Row2 = 2, 1, 05/25/2004, 5
I need to return the Count of CHARGES(ChargesKey) for each SalesRepKey. In
the above example, the result should be 1