C
Conditional join
In Excel, I can do a conditional lookup by using an IF statement saying if
column A (table #1) = "football", lookup in table #2 and return matched
value, otherwise lookup column H (table #1) and return value from Table #2.
I'm trying to replicate in Access, but I don't know how. In access, I have
Table 1 joined to Table 2. As it is joined, it knows only to return values
that are matched by the joined field. Is it possible to code Access to do
the same as I described above where it knows to return values from Table #2
with the condition that if it doesn't match, use another field to match to
Table #2.
column A (table #1) = "football", lookup in table #2 and return matched
value, otherwise lookup column H (table #1) and return value from Table #2.
I'm trying to replicate in Access, but I don't know how. In access, I have
Table 1 joined to Table 2. As it is joined, it knows only to return values
that are matched by the joined field. Is it possible to code Access to do
the same as I described above where it knows to return values from Table #2
with the condition that if it doesn't match, use another field to match to
Table #2.