user
|
| Posted: 10/20/2002, 12:22 PM |
|
I've been running around in circles for way too much time on what ought to
be a simple task and I'd really appreciate a simple cookbook formula for
adding a custom button and onclick event to a detail record form:
1.) I want the button to do some processing (my credit card authorization
routine) I know how to do that
2.) If the authorization fails - I want to set the error message on the
detail form and NOT redirect to the main grid form.
There are events, custom code, you can type in your own event name in the
format tab for the button, you can add an "onClick" event in the events
tab....etc.
Where should I add the code for the button and how do I make the form stay
loaded and display an errir message if an authorization error occurs?
This has got to be really simple - but the error trapping methodology eludes
me and I'ne not found any samples in the documentation.
Thank you in advance.
|
|
|
 |
|