R
Roddy B
I am creating a select query from which to generate labels. I am using two
tables with a one to many relationship. The label fields are in the primary
table and the sorting field [DateRequest] is in the secondary table. Because
many of the primary records have multilple linked records in the secondary
table the query repeats name, address etc. multiple times. The current code
looks like this:
SELECT tblChildren.[ID#], [PFirstName] & " " & [PLastName] AS PFullName,
[MCity] & ", " & [MState] & " " & [MZip] AS CSZ, tblChildren.MAddress,
tblCrisisAsst.DateRequest
FROM tblChildren INNER JOIN tblCrisisAsst ON tblChildren.[ID#] =
tblCrisisAsst.[ID#]
WHERE (((tblCrisisAsst.DateRequest) Between #1/1/2006# And #12/31/2006#));
How can I make the query filter so the primary record information (name,
address etc.) is only listed once?
Thanks.
tables with a one to many relationship. The label fields are in the primary
table and the sorting field [DateRequest] is in the secondary table. Because
many of the primary records have multilple linked records in the secondary
table the query repeats name, address etc. multiple times. The current code
looks like this:
SELECT tblChildren.[ID#], [PFirstName] & " " & [PLastName] AS PFullName,
[MCity] & ", " & [MState] & " " & [MZip] AS CSZ, tblChildren.MAddress,
tblCrisisAsst.DateRequest
FROM tblChildren INNER JOIN tblCrisisAsst ON tblChildren.[ID#] =
tblCrisisAsst.[ID#]
WHERE (((tblCrisisAsst.DateRequest) Between #1/1/2006# And #12/31/2006#));
How can I make the query filter so the primary record information (name,
address etc.) is only listed once?
Thanks.