This topic is locked

From Edit Page to Add Page

7/10/2006 3:24:19 PM
ASPRunnerPro General questions
K
Kym author

I have added a link on the edit page that will direct the user to the add page. Can you tell me how I can send the transaction number(of the record they just edited) with it so that when the user gets to the add page the transaction number is already entered for them?

J
Jane 7/11/2006

Hi,
you can do it using events.

Proceed to the Events tab, select Before record updated event and put following code in it:

Session("transaction_number") = dict("fieldname")



where fieldname is your actual field name.
Then set Session("transaction_number") as default value on the Edit format dialog on the Formatting tab.