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

 How Do I run a SQL from an action button

Print topic Send  topic

Author Message
Alex Lum
Posted: 09/07/2002, 10:20 PM

I have an SQL that I would like to run from an event like a button click.

For example I would like to run a

DELETE *
from TESTTABLE
where FLAG = "DEL"

From a button click event



Tobias Ferdinand
Posted: 09/12/2002, 2:04 AM

Hi,
I think, if you choose the button->server->onclick event you can use:
//...
global $DB<connection>;
CCGetDBValue("DELETE * from TESTTABLE where FLAG = "DEL", $DB<connection>);
//...
in your custom code...

Tobias


"Alex Lum" <lumsandy@hotmail.com> schrieb im Newsbeitrag
news:alemma$na8$1@news.codecharge.com...
> I have an SQL that I would like to run from an event like a button click.
>
> For example I would like to run a
>
> DELETE *
> from TESTTABLE
> where FLAG = "DEL"
>
> From a button click event
>
>
>
>


   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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