|
-
May 19th, 2001, 03:19 PM
#1
Click on the left column - DataGrid
Hi,
I'm in trouble with a DataGrid.
If the user types something inside the columns of the last row of a DataGrid and then clicks on the left gray column (Row Selector) in another line, the consistence events (BeforeUpdate and BeforeColUpdate) of the last line are not verified.
So, the record is inserted in the database and may contain undesired values.
How can I avoid this inconvenience?
Thanks in advance...
Michel Jr.
Some good Activex controls at my HP:
http://www.geocities.com/michel_junior_hp/index.html
-
May 19th, 2001, 06:36 PM
#2
Re: Click on the left column - DataGrid
Hello Michel Jr:
If I understand correctly, what you do after you make your changes is to click on any cell and then you can click the black arrow on the left to save your changes
Please reply back so that I know I answered your question correctly
Good Luck
-
May 20th, 2001, 08:41 AM
#3
Re: Click on the left column - DataGrid
Hi,
After typing something in the last line of the Datagrid, if I click on the left gray column of another line (that black arrow), the validation events of the last line aren't executed.
This cause the last line to be included in my table without validation, and may contain undesired data.
How to avoid this behaviour?
Thanks again...
Michel Jr.
Some good Activex controls at my HP:
http://www.geocities.com/michel_junior_hp/index.html
-
May 20th, 2001, 03:53 PM
#4
Re: Click on the left column - DataGrid
Hello:
After I make changes to my last row, I click a cell in table before I could click black arrow on the left to save my changes.
Thank you
-
May 21st, 2001, 08:31 AM
#5
Re: Click on the left column - DataGrid
Hi,
I also click a cell in table before I could click black arrow on the left to save my changes...This is the right way, I agree with you...
But if the user inadvertently doesn't click a cell before clicking the black arrow on the left?
That's what I want to prevent...I need a code to avoid this possibility, otherwise some undesired data may be updated in my table.
Thanks again,
Michel Jr.
Some good Activex controls at my HP:
http://www.geocities.com/michel_junior_hp/index.html
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|