I have a two table Access 2010 database. The 1st table is preloaded with 80 apartments, space A and space B. This means that someone can rent apartment 50, space A & B or simply apartment 50, space A or apartment 50, space B. So I have a table that looks like:
Apartment Space A Space B
1 /_/ /_/ 2 /_/ /_/ these are yes/no boxes boxes
\/ \/ \/
50 /_/ /_/
I have a second table containing customer info, including Apartment #, Space A and Space B.
This 2nd table is a source for my data entry screen in which I have to identify which apartment/space(s) a customer rents.
My question is: when I enter into the data entry screen that a customer has rented apartment 2, space A and B, how can Access mark my 1st table, that has all apartment numbers and space numbers preloaded, that apartment 2 and spaces A and B are occupied.
I subsequently need this 1st table to be updated or marked everytime I rent to a customer so that I can run a query to see what apartments/spaces are available
Apartment Space A Space B
1 /_/ /_/ 2 /_/ /_/ these are yes/no boxes boxes
\/ \/ \/
50 /_/ /_/
I have a second table containing customer info, including Apartment #, Space A and Space B.
This 2nd table is a source for my data entry screen in which I have to identify which apartment/space(s) a customer rents.
My question is: when I enter into the data entry screen that a customer has rented apartment 2, space A and B, how can Access mark my 1st table, that has all apartment numbers and space numbers preloaded, that apartment 2 and spaces A and B are occupied.
I subsequently need this 1st table to be updated or marked everytime I rent to a customer so that I can run a query to see what apartments/spaces are available