A
Antonio
I have a query (qryMain) that pulls data from a table (tblRequest - 30
records) and two other queries based on two other tables. The sub queries
(qsub1- 2 records, qsub2 - 2 records) calculate fields based on records that
exist in the sub queries and the values in them. However the joins are set to
show all the records from tblRequest and only those from qsub1 and qsub2 that
have corresponding, unique, account numbers.
My problem - The data field from qsub2 is populating every fied in qryMain,
even though there are only two records while the data field from qsub1 is
populating the query field for only those two records.. SO
Instead of:
qryMain.Acct qryMain. Name qsub1.Status qsub2.status
V789098789 Joe Pending
V987987987 Sally Pending Complete
V324546544 Tim Complete
V584564544 Rick
V213215641 John
I get this: (Even though records for Joe, Rick, and John don't exist in qsub2)
qryMain.Acct qryMain. Name qsub1.Status qsub2.status
V789098789 Joe Pending Complete
V987987987 Sally Pending Complete
V324546544 Tim Complete
V584564544 Rick Complete
V213215641 John Complete
I dont know why its working correctly for qsub1 and not qsub2, even though
the joins are set the same between all queries.
records) and two other queries based on two other tables. The sub queries
(qsub1- 2 records, qsub2 - 2 records) calculate fields based on records that
exist in the sub queries and the values in them. However the joins are set to
show all the records from tblRequest and only those from qsub1 and qsub2 that
have corresponding, unique, account numbers.
My problem - The data field from qsub2 is populating every fied in qryMain,
even though there are only two records while the data field from qsub1 is
populating the query field for only those two records.. SO
Instead of:
qryMain.Acct qryMain. Name qsub1.Status qsub2.status
V789098789 Joe Pending
V987987987 Sally Pending Complete
V324546544 Tim Complete
V584564544 Rick
V213215641 John
I get this: (Even though records for Joe, Rick, and John don't exist in qsub2)
qryMain.Acct qryMain. Name qsub1.Status qsub2.status
V789098789 Joe Pending Complete
V987987987 Sally Pending Complete
V324546544 Tim Complete
V584564544 Rick Complete
V213215641 John Complete
I dont know why its working correctly for qsub1 and not qsub2, even though
the joins are set the same between all queries.