V
vicki.wells
I'm trying to make a query that combines the data from three tables
that have data of varying ages. The newer tables don't have all the
data from the older one included in them. I need a nested IIf that
pulls the most current data, depending on whether a field is null or
not. Does that make sense? I've been using the IsNull function, but I'm
having trouble with the last part where it looks for the fields in
Tables 1 and two to both be null before using the third.
If there's data in Table1 MGR, use that.
If Table1 MGR is null, use Table2 MGR
If Table1 MGR and Table2 MGR are both null, use Table3 MGR
Can someone help>
that have data of varying ages. The newer tables don't have all the
data from the older one included in them. I need a nested IIf that
pulls the most current data, depending on whether a field is null or
not. Does that make sense? I've been using the IsNull function, but I'm
having trouble with the last part where it looks for the fields in
Tables 1 and two to both be null before using the third.
If there's data in Table1 MGR, use that.
If Table1 MGR is null, use Table2 MGR
If Table1 MGR and Table2 MGR are both null, use Table3 MGR
Can someone help>