T
Tedd
I have two tables that I am running a query on. Both
tables contain columns with values and a date for each
value.
For example:
TABLE1 TABLE2
NAME DATE NAME DATE
abc 2004-01-02 efg 2004-03-02
xyz 1999-12-05 mno 2003-11-09
In my query I selecting rows that are <= to a date that I
enter. So if I select rows that are less then or equal to
2003-12-01 I get the last two rows in the table.
THE PROBLEM is that if I try to select a date that is not
in the date range I give I don't get any results. So if I
try selecting everything that is <= to 2001-01-01 I don't
get any results because the minimum date on TABLE2 is 2003-
11-09. I know that only one date meets the criteria, not
both, and that's why I don't get anything. So...
MY QUESTION IS: how do I get Access to put a value or
something(like N/A) in the fields where the query couldn't
return any results? So if I am trying to find everything
that is <= to 2001-01-01 from TABLE1 and TABLE2 I want to
get:
xyz 1999-12-05 N/A N/A.
I hope this makes since. Any help would be appreciated.
Thanks
tables contain columns with values and a date for each
value.
For example:
TABLE1 TABLE2
NAME DATE NAME DATE
abc 2004-01-02 efg 2004-03-02
xyz 1999-12-05 mno 2003-11-09
In my query I selecting rows that are <= to a date that I
enter. So if I select rows that are less then or equal to
2003-12-01 I get the last two rows in the table.
THE PROBLEM is that if I try to select a date that is not
in the date range I give I don't get any results. So if I
try selecting everything that is <= to 2001-01-01 I don't
get any results because the minimum date on TABLE2 is 2003-
11-09. I know that only one date meets the criteria, not
both, and that's why I don't get anything. So...
MY QUESTION IS: how do I get Access to put a value or
something(like N/A) in the fields where the query couldn't
return any results? So if I am trying to find everything
that is <= to 2001-01-01 from TABLE1 and TABLE2 I want to
get:
xyz 1999-12-05 N/A N/A.
I hope this makes since. Any help would be appreciated.
Thanks