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 -> ASP

 Custom Insert

Print topic Send  topic

Author Message
Louie
Posted: 05/22/2004, 1:17 AM

I have read through all the forums and can't find a solution to my problem.

I want the rows inserted from an Editable Grid to be dependend on a condition. I saw a lot of mentioned being made to the INsertAllowed property, this however seems to stop ALL the rows from being inserted. For example if I have 3 rows in the Insert section, the program should be able to ingnore the 1st and third row, but insert the second row into the database.

how do I do that?

THanks
peterr


Posts: 5971
Posted: 05/24/2004, 12:04 AM

In this post marcwolf proposed to use Grid1.Command.CommandOperation = 99 in Before Execute Insert event :
http://forums.codecharge.com/posts.php?post_id=42830
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Louie
Posted: 05/24/2004, 1:55 PM

Thanks, it seems to work

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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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