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" <sc******@gmail.comwrote in message news:11**********************@l77g2000hsb.googlegr oups.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.