Kennelbloke
Technical User
Hi Folks
I have two tables, one that stores pet booking info (tblBookings) it has a field in it called cage. this is for the allocation of a cage at time of booking.
I also have a table (tblCages) with a list of all cages we have for both dogs and cats. What I'd like to do is show a list of cages available (based on cat or dog) at time of booking for the dates booked.
The common fields are tblCages.CageID and tblBookings.Cage with tblBookings.DateIn and tblBookings.DateOut as selectors. tblBookings.PetTypeId is 1 for cats and 2 for dogs.
Any help appreciated.
I have two tables, one that stores pet booking info (tblBookings) it has a field in it called cage. this is for the allocation of a cage at time of booking.
I also have a table (tblCages) with a list of all cages we have for both dogs and cats. What I'd like to do is show a list of cages available (based on cat or dog) at time of booking for the dates booked.
The common fields are tblCages.CageID and tblBookings.Cage with tblBookings.DateIn and tblBookings.DateOut as selectors. tblBookings.PetTypeId is 1 for cats and 2 for dogs.
Any help appreciated.