N
Nick Mirro
I have 2 tables in a query.
Key
tblVisits VisitID
tblCallInfo CallID
There are many Calls per Visit.
I want a query that will return just the first listed call per Visit.
I tried a query with these fields
Field Table Relationship side
VisitID tblVisits One
DateOfCall tblCallInfo Many
Communication tblCallInfo Many
The only way I can return the correct records is if I set DateOfCall to
ASCENDING, and Top Values to 1, which I don't understand. Problem with this
is that the fields from tblCallInfo are blank. Any other arrangement yields
duplicate VisitIDs from the many side, or very few records. (for more info,
see post at 1:25 PM)
Nick
Key
tblVisits VisitID
tblCallInfo CallID
There are many Calls per Visit.
I want a query that will return just the first listed call per Visit.
I tried a query with these fields
Field Table Relationship side
VisitID tblVisits One
DateOfCall tblCallInfo Many
Communication tblCallInfo Many
The only way I can return the correct records is if I set DateOfCall to
ASCENDING, and Top Values to 1, which I don't understand. Problem with this
is that the fields from tblCallInfo are blank. Any other arrangement yields
duplicate VisitIDs from the many side, or very few records. (for more info,
see post at 1:25 PM)
Nick