kleinmannetje
|
| Posted: 03/21/2002, 3:21 PM |
|
I am working on an online bookstore. I have a registration page, and I want when people register, they go to the next page where they can check their information and then confirm. Only after they have confirmed their data the data must be put in the database. How do I do this?
Can anyone help me
|
|
|
 |
Nicole
|
| Posted: 03/22/2002, 2:41 AM |
|
Hello,
here is the workaround I can propose.
On register page insert new record to db and pass newly inserted primary key to confirmation page. Refer to following article o find how to get and pass primary key: http://www.gotocode.com/art.asp?art_id=80&
On confirmation page put update and delete buttons. Update button for submit information (record will be just updated) and delete for canceling registration (the record will be deleted). That's all %)
|
|
|
 |
kleinmannetje
|
| Posted: 03/22/2002, 4:52 AM |
|
Thank you for your answer.
I have tried the things on the linked page, but I can't get it to work. The confirm page doesn't show the users information.
Can you please tell me in some more detail how to transfer the primary key.
I have an Acces database and I use ASP
Thanks
|
|
|
 |
www.adenin.nl
|
| Posted: 03/22/2002, 4:59 AM |
|
probeer eens met before update / close events van een form / pagina dit te bereiken.
succes
|
|
|
 |
Nicole
|
| Posted: 03/22/2002, 5:09 AM |
|
the problem how to catch and pass new primary key is clearly described in mentioned article. Read it again. All you need to do is to create confirmation page with record form and pass newly inserted primary key to it through URL.
|
|
|
 |
kleinmannetje
|
| Posted: 03/22/2002, 6:58 AM |
|
I am just a beginner in this, so could anyone please tell me how to do this? I have made a confirmation page, but on what page do I put the sql code? And where in the apge properties do I put it, under SQL or under events.
I am just a beginner in this so please forgive me.
I have put the code in the confirmation page under events and it display's the page, so I think it gets the information, only it doesn't shows it.
|
|
|
 |