tom
|
| Posted: 11/05/2002, 10:38 AM |
|
i have a form where a record can be changed by user. There are 2 buttons: update and cancel. When user clicks on button update page1 should be shown and when user clicks on button cancel page2 should be shown.
Can anybody help me?
Thanks
using ASP/msaccess
|
|
|
 |
EMG
|
| Posted: 11/05/2002, 11:52 AM |
|
on the record form set the "Return Page" property for each button to your desired page for that button action.
|
|
|
 |
tom
|
| Posted: 11/05/2002, 12:31 PM |
|
thanks for the reply.
But how can i specify the "Return Page" property for each button to my desired page for that button action. I think i must use events, After update. Right? What is the right expression that i must use?
|
|
|
 |
EMG
|
| Posted: 11/05/2002, 12:55 PM |
|
simply set the return page property for the button control, you do not need to use an event. If the update action fails, an error message will show and navigation will not go to the return page.
|
|
|
 |
|