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 |
 |
 |
Louie
|
| Posted: 05/24/2004, 1:55 PM |
|
Thanks, it seems to work
|
|
|
 |
|