cactus1000
Programmer
Newbie question:
I have a simple event registration form ASP page that submits name, phone, etc.
My database has a key field called ID which is incremented automatically (there is no "ID" field in the form).
When the user submits the form data I need to somehow query the database for the ID number assigned to this particular record and alert the user if he is one of the first thirty five people to respond.
Or is there some code that would count clicks of the "submit" button (and that could be re-set to zero when the testing phase is done)?
This would be easy if "ID" was being passed from the form, but it's not.
How do I do this?
I have a simple event registration form ASP page that submits name, phone, etc.
My database has a key field called ID which is incremented automatically (there is no "ID" field in the form).
When the user submits the form data I need to somehow query the database for the ID number assigned to this particular record and alert the user if he is one of the first thirty five people to respond.
Or is there some code that would count clicks of the "submit" button (and that could be re-set to zero when the testing phase is done)?
This would be easy if "ID" was being passed from the form, but it's not.
How do I do this?