try
public int Insert_onWebEvent(CSpWebEvent event)
{
int command = PROCEED;
command = doAction(event);
if (command == PROCEED) {
CSpHtml.reset();
return(load("nextpage"));
}
return(command);
}
Hope this helps
-Nimmi
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 28, 1999 1:08 PM
To: [EMAIL PROTECTED]
Subject: [ND] Button using "Built-in Insert". How do I control what page
it loads next?
I am using NetDynamics 4
I have a page with a few input fields and an "Insert" button.
The button is using the Built-it Insert functionality to insert a row in a
database table.
How do I tell it what page to load next?
When I simply add load("nextpage") to the web event of the button I get both
the current page and next page. How do I solve this problem without
manually executing the data object in the code?
Thanks,
- Asaf :)
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]