Hi
I have a booking database that I am building
when you go to book a bed you enter the bed number and another query runs showing you all the beds in that room and if they are booked if they are male or female. can only have one gender per room.
when the bed is released and made available for booking again is when the problem occurs.
the query looking at the other beds in that room shows that the bed is available but the last gender that was in the bed is still attached.
I believe that I need to do some type of IFF statement
saying that iff [Avail]= true then [bookedg]= is null. but cant quite seam to get the syntax.
any help greatly appreciated.
J
I have a booking database that I am building
when you go to book a bed you enter the bed number and another query runs showing you all the beds in that room and if they are booked if they are male or female. can only have one gender per room.
when the bed is released and made available for booking again is when the problem occurs.
the query looking at the other beds in that room shows that the bed is available but the last gender that was in the bed is still attached.
I believe that I need to do some type of IFF statement
saying that iff [Avail]= true then [bookedg]= is null. but cant quite seam to get the syntax.
any help greatly appreciated.
J