G
Guest
I have a form [weekend_vol] with a subform [human_calc] that keeps track of
volunteers to work the weekend shift. After choosing a weekend date from the
drop down menu, the subform populates...the subform will display how many
people are needed for that weekend([Capacity]), how many spots have already
been taken([Spots_Taken]), and how many spots are available([Capacity -
Spots_Taken]). employees may then add their name and op id and click save to
submit that they want to work that weekend. Here's my problem. As soon as
there are 0 spots available, I do not want people to be able to volunteer for
that weekend. Right now, my form still allows people to volunteer and the
spots_available will display -1 spots available and so forth. Basically, as
soon as there are 0 spots, and someone tries to volunteer for that weekend, i
would like a message box to generate saying there are no more spots available
and i would like for the record NOT to save, so that there isn't a negative
number displayed in the spots_available field. Any help would be
appreciated!!! thanks in advance.
volunteers to work the weekend shift. After choosing a weekend date from the
drop down menu, the subform populates...the subform will display how many
people are needed for that weekend([Capacity]), how many spots have already
been taken([Spots_Taken]), and how many spots are available([Capacity -
Spots_Taken]). employees may then add their name and op id and click save to
submit that they want to work that weekend. Here's my problem. As soon as
there are 0 spots available, I do not want people to be able to volunteer for
that weekend. Right now, my form still allows people to volunteer and the
spots_available will display -1 spots available and so forth. Basically, as
soon as there are 0 spots, and someone tries to volunteer for that weekend, i
would like a message box to generate saying there are no more spots available
and i would like for the record NOT to save, so that there isn't a negative
number displayed in the spots_available field. Any help would be
appreciated!!! thanks in advance.