C
Coral
Hi, i am a new member of this group and really looking forward to some
urgent help..i have a problem converting my Xcel query logic to
Access...basically can we use DLookup in a Query- Design view
(Criteria field) to define/match two crietria:
I have two Tables Data (50,000 rows of Department and Country -
fields) and T530 (Valid Dept and Country) besides quite a few other
fields. What i need is to get a matching result for Country (Aust/NZ)
first and then a matching Dept that is valid from Table T530. So for
Country i have put a Join between the two tables (Join #2) on Country
field and for Dept, this is what i have enetered in
DLookUp("[ValidDept]","T530_ANZ","ValidDept =
.[Data].
[Department]")
but i end up getting error: '....Access can't find the name
.
[Data].[Department]'
urgent help..i have a problem converting my Xcel query logic to
Access...basically can we use DLookup in a Query- Design view
(Criteria field) to define/match two crietria:
I have two Tables Data (50,000 rows of Department and Country -
fields) and T530 (Valid Dept and Country) besides quite a few other
fields. What i need is to get a matching result for Country (Aust/NZ)
first and then a matching Dept that is valid from Table T530. So for
Country i have put a Join between the two tables (Join #2) on Country
field and for Dept, this is what i have enetered in
DLookUp("[ValidDept]","T530_ANZ","ValidDept =
[Department]")
but i end up getting error: '....Access can't find the name
[Data].[Department]'