david7777777777
Programmer
I have 2 asp pages: page1.asp & page2.asp. I want to only have a button (btnNew) on page1.asp, whose onClick event will navigate to page 2.asp, where the bulk of the code is. On page2.asp I have a recordset (rsDepartments), two text boxes (txtDeptName & txtDeptNumber) and a command button (btnSave).
When a user clicks on the btnNew on page1.asp, I want that onClick to perform the following for the recordset on page2.asp: rsDepartments.addrecord and/or rsDepartments.open.
Can you provide me an example of the code structure and syntax for this?
Thanks,
David
When a user clicks on the btnNew on page1.asp, I want that onClick to perform the following for the recordset on page2.asp: rsDepartments.addrecord and/or rsDepartments.open.
Can you provide me an example of the code structure and syntax for this?
Thanks,
David