V
vavroom
I'm having a hard time figuring out the logic needed to build the
following functionality. I hope some of you will be able to point me
in the right direction.
Creating a small application that lets the user assign a room, a
supervisor, and a topic to an individual for a particular date.
A room can only be assigned for a particular date once. A supervisor
can only be assigned for a date once.
So if we have April 1 as a date, and we assign Room A, and Supervisor
A, neither that room and supervisor are "usable" for April 1.
I need to create a form where the user enters the date, individual's
name and topic then selects a room from a listbox, then the supervisor
also from a listbox. The boxes should be populated only with
"available" rooms/supervisor (based on the date).
Ideally, I want to build lookup tables, one for the rooms, one for the
supervisors.
Where I don't know how to proceed, is how to tie in a particular room
with a particular date, and then build the select statement for the
list, limiting the record to anything that hasn't been selected for
that date already.
Has anyone any idea? (and I realise I wasn't as clear as could be in
my explanations).
Thanks
following functionality. I hope some of you will be able to point me
in the right direction.
Creating a small application that lets the user assign a room, a
supervisor, and a topic to an individual for a particular date.
A room can only be assigned for a particular date once. A supervisor
can only be assigned for a date once.
So if we have April 1 as a date, and we assign Room A, and Supervisor
A, neither that room and supervisor are "usable" for April 1.
I need to create a form where the user enters the date, individual's
name and topic then selects a room from a listbox, then the supervisor
also from a listbox. The boxes should be populated only with
"available" rooms/supervisor (based on the date).
Ideally, I want to build lookup tables, one for the rooms, one for the
supervisors.
Where I don't know how to proceed, is how to tie in a particular room
with a particular date, and then build the select statement for the
list, limiting the record to anything that hasn't been selected for
that date already.
Has anyone any idea? (and I realise I wasn't as clear as could be in
my explanations).
Thanks