CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 custom button and event

Print topic Send  topic

Author Message
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.


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.