M
Maarkr
I have a 'hotel' reservation db (for troops) that I can assign and track
rooms and beds. So one room may be a single, one may be a double, or one
room may have 20 beds (I also deconflicted male/females). I finally got a
query as the recordsource for my form to return the proper records for the
current day. I now need to count the beds and rooms assigned from the
records returned to see if there is any space left for others. Since each
record accounts for a bed assigned to somone, I just had a textbox souce
=Count([roomID]) to give me the total beds assigned for the day. How do I
count the rooms assigned for the day? I may have 1 or many people in a room;
so room 201-1 person, 202-2 persons, 300-5 persons... returns 8 records
(beds), but how can I count the different rooms, 3 in this case? Give me
some ideas to get me going, or I can repost with the recordsource query.
rooms and beds. So one room may be a single, one may be a double, or one
room may have 20 beds (I also deconflicted male/females). I finally got a
query as the recordsource for my form to return the proper records for the
current day. I now need to count the beds and rooms assigned from the
records returned to see if there is any space left for others. Since each
record accounts for a bed assigned to somone, I just had a textbox souce
=Count([roomID]) to give me the total beds assigned for the day. How do I
count the rooms assigned for the day? I may have 1 or many people in a room;
so room 201-1 person, 202-2 persons, 300-5 persons... returns 8 records
(beds), but how can I count the different rooms, 3 in this case? Give me
some ideas to get me going, or I can repost with the recordsource query.