H
hkgary33 via AccessMonster.com
Dear all,
I've built two queries (qrySearch1 & qrySearch2), and both of them shows same
fields but different results because of the difference of the design of each
query. Now, I would like to combine this two queries based on two key fields
"FileNo" & "StaffID" in these two queries. The expected result is to avoid
duplicate records shown based on these fields.
For example, in qrySearch1, it consists of these records:
FileNo StaffID
1 777
3 666
7 444
And in qrySearch2, it consists of these records:
FileNo StaffID
1 444
1 777
6 555
Then in the resultant query, I would like to expect:
FileNo StaffID
1 444
1 777
3 666
6 555
Can anybody help me to join these two queries so as to produce such result?I
really have no idea on this, plz help!!
Thanks so much!!!!!
Gary
I've built two queries (qrySearch1 & qrySearch2), and both of them shows same
fields but different results because of the difference of the design of each
query. Now, I would like to combine this two queries based on two key fields
"FileNo" & "StaffID" in these two queries. The expected result is to avoid
duplicate records shown based on these fields.
For example, in qrySearch1, it consists of these records:
FileNo StaffID
1 777
3 666
7 444
And in qrySearch2, it consists of these records:
FileNo StaffID
1 444
1 777
6 555
Then in the resultant query, I would like to expect:
FileNo StaffID
1 444
1 777
3 666
6 555
Can anybody help me to join these two queries so as to produce such result?I
really have no idea on this, plz help!!
Thanks so much!!!!!
Gary