Ray Bell
|
| Posted: 03/04/2005, 3:08 AM |
|
I have 2 tables.
I want to add a record to first table
ID : Auto PK Incremental (this is added automatically by the database)
Name : text
Surname : text
After insert then I would like to get the ID that was generated and then pass it onto the second page.
How do I do this.
Thanks for your help.
Ray.
|
|
|
 |
Nicole
Posts: 586
|
| Posted: 03/04/2005, 4:51 AM |
|
Ray,
You can check CCS Multi Step Registration sample from CCExamplePack solution. The After Insert event on first step page includes a code that retrieves a last insert ID value http://examples.codecharge.com/ExamplePack/MultiStepReg...trationGrid.php
_________________
Regards,
Nicole |
 |
 |
|