CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 manual insert if checkbox rows record in editable grid

Print topic Send  topic

Author Message
zmoerf

Posts: 12
Posted: 10/30/2013, 7:15 PM

I want executed insert/update record (other table) only in row checked(checkbox) in editable grid
Can u help me,
View profile  Send private message
eratech


Posts: 513
Posted: 10/31/2013, 9:57 PM

You can repurpose the 'Delete' in an editable grid.

In the properties for the Editible Grid, check the 'Delete Control' us using checkbox.

Then change the EGrids Custom Delete - you can use a SQL Update and pass in the ID as the parameter to the update.

I've used this for ticking off 'To Do' items with the 'delete' really changing a flag to 'DONE'

Remember that when you click "Submit" on the form, the 'delete' will be run once for each row that is checked. You don't need to check them out yourself.

e
_________________
CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia
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.