G
gymcshoe via AccessMonster.com
I have a form with a checkbox; I'm trying to build a query that grabs that
value from the checkbox (-1), and use it as a criteria. In the criteria, I
want to say: if the checkbox is checked, give me all records that do not have
a -1, otherwise give me all records.
So to clarify:
I have two tables. first one is "new table" and the second one is "archive
table".
I want to build a query, so that if the checkbox is checked, all records in
the "new table" that are NOT in the "archive table" will be shown. If the
checkbox is not checked, then I want all records to be shown.
the column I'm using to put the criteria in is Reviewed column in the Archive
table, which already has several -1's and is in number format
Any help will be much appreciated!
value from the checkbox (-1), and use it as a criteria. In the criteria, I
want to say: if the checkbox is checked, give me all records that do not have
a -1, otherwise give me all records.
So to clarify:
I have two tables. first one is "new table" and the second one is "archive
table".
I want to build a query, so that if the checkbox is checked, all records in
the "new table" that are NOT in the "archive table" will be shown. If the
checkbox is not checked, then I want all records to be shown.
the column I'm using to put the criteria in is Reviewed column in the Archive
table, which already has several -1's and is in number format
Any help will be much appreciated!