CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 How can I programatically change a form's action - {Action}

Print topic Send  topic

Author Message
Gary Finlay
Posted: 10/24/2007, 2:55 PM

As the title says. Can anyone help please?

Gary Finlay
Posted: 12/03/2007, 6:33 AM

Hmmmmm...... glad I have paid support.

CC support helped me to work this out. If anyone needs to know let me know
and I'll post it here.

akwest


Posts: 1
Posted: 12/04/2007, 3:21 AM

yes, can you please post it. I am now also looking on how to change that action, it might solve my problem.

Thanks
View profile  Send private message
Gary Finlay
Posted: 12/06/2007, 7:57 AM

Yep here it is. Hope it helps.

Regards,
Gary


$Container->DataSource->SQL = str_replace("INSERT INTO jobs", "INSERT INTO
jobs_cc", $Container->DataSource->SQL);


"akwest" <akwest@forum.codecharge> wrote in message
news:5475538448330a@news.codecharge.com...
> yes, can you please post it. I am now also looking on how to change that
> action,
> it might solve my problem.
>
> Thanks
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

girish_327


Posts: 108
Posted: 02/14/2008, 7:22 AM

Helllo Garry,
I cant believe this....I am suppose to sending you a HELP Request through this thread and I checked my posted thread (http://forums.codecharge.com/posts.php?post_id=94009) for reference you are there How lucky I am.

Thank you Gary...


_________________
Girish Baraskar
Web Designer/Developer
http://www.agnisdesigners.com
http://www.eindianpaintings.com
http://www.realestatekolhapur.com
View profile  Send private message
danic

Posts: 7
Posted: 02/15/2008, 7:11 AM

Quote Gary Finlay:
Yep here it is. Hope it helps.

Regards,
Gary


$Container->DataSource->SQL = str_replace("INSERT INTO jobs", "INSERT INTO
jobs_cc", $Container->DataSource->SQL);

I am pretty sure that code does something else: it can be used in the "onBuildInsert" event (for instance) in order to modify the INSERT sql. It does not change the form's action. :)

Regards,
Dani
View profile  Send private message

Add new topic Subscribe to topic   


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.