
12-06-2003, 04:10 PM
|
|
Steppe Walker
Retired Moderator * Expert *
|
|
Join Date: Jul 2002
Location: Ukraine/Russia/Belgium
Posts: 7,227
|
|
|
Hi,
MSDN gives this example for BeforeUpdate.
I think the rest of events follow.
Do you need something more elaborated?
------------------
BeforeUpdate Event Example
This example displays a message that tells the user to enter a value in the first column before the grid can be updated.
Private Sub DataGrid1_BeforeUpdate (Cancel As Integer)
If DataGrid1.Columns(1).Value = "" Then
MsgBox "You must enter value in the first column!"
Cancel = True
End If
End Sub
-----------------
Regards,
Shurik.
|
|