This topic is locked

Question about Table Event

4/6/2006 11:39:07 AM
ASPRunnerPro General questions
K
Kym author

After the user adds a record, I want to ask them if they want to add another record. If yes, it should redirect them to the add page. If no, it should take them back to the menu. Can you tell me the best way to do this?

Sergey Kornilov admin 4/6/2006

The best way to add a radio button or checkbox (Continue adding new records) to the bottom of the Add page.
Another way: add a redirect to interim page after record is added. This new page should contain two links: Back to list page and Continue adding new records.
Second way is easier to implement however involves one extra click.

K
Kym author 4/7/2006

Thank you. I have decided to go with the second option and it is working fine. However, I need to carry the primary key of the first record that was added and prepopulate it to the next page if they decide to add another record. Can you tell me the best way to do it? I tried using the Session variables but it did not work.
Thanks,

Kym