J
joni
Hello,
I have 2 tables:
Table1
Locker Number
Lastname
Firstname
StatusID(number) combo box
Table2
StatusID(autonumber)
Status(Text) - occupied, empty, pending
I created a one-to-many relationship.
I want to create a query to see all "occupied" lockers. i created a
parameter query:
SELECT *
FROM Table1
WHERE StatusID=[Enter Status:];
but instead of entering occupied, i have to enter 1 to see all the list of
occupied lockers.Can i just input the word occupied instead of 1 here, this
is also goes for empty (2) and pending (3)
I have 2 tables:
Table1
Locker Number
Lastname
Firstname
StatusID(number) combo box
Table2
StatusID(autonumber)
Status(Text) - occupied, empty, pending
I created a one-to-many relationship.
I want to create a query to see all "occupied" lockers. i created a
parameter query:
SELECT *
FROM Table1
WHERE StatusID=[Enter Status:];
but instead of entering occupied, i have to enter 1 to see all the list of
occupied lockers.Can i just input the word occupied instead of 1 here, this
is also goes for empty (2) and pending (3)