LIMIT REGISTRATION

LIMIT REGISTRATION

am 22.04.2007 06:30:55 von scottm03

I am new to ASP, and I am trying to figure out how to create a
registration form that can limit that amount of people who are signing
up for an event. The form has to take in consideration the number of
guests the attendee is bringing table seating location. How can
interact with the database in order to do this. I know how to create a
form and send that information to a database.

Re: LIMIT REGISTRATION

am 22.04.2007 07:25:45 von Jon Paal

before you display the form on the page, check the number of entries in the database. If the number exceeds the limit then display
a message the event is full, If not display the form.

Test again after the form is submitted, check the entry count before adding the user to the event and respond accordingly.


"new2asp" wrote in message news:1177216255.437047.191110@l77g2000hsb.googlegroups.com.. .
>I am new to ASP, and I am trying to figure out how to create a
> registration form that can limit that amount of people who are signing
> up for an event. The form has to take in consideration the number of
> guests the attendee is bringing table seating location. How can
> interact with the database in order to do this. I know how to create a
> form and send that information to a database.
>