|
-
Nov 17th, 2000, 04:31 AM
#1
Thread Starter
New Member
When i am editing the row for a grid(i.e. while entering values in the grid) i want to validate it. if i find value to be inapropriate i shall not accept it. hence give the user chance to enter valid data. can u explain this with sample piece of code? that would be helpful!!
Also for a particular column how to fix its length
i.e if column i want to set maxlength=6 character how to do it using data grid.
---thanks MIKEHOST
-
Nov 17th, 2000, 07:45 AM
#2
Lively Member
Check the VB Help on DataGrid for the ColEdit, BeforeColUpdate and AfterColUpdate events. This is the area where you need to validate user entries.
The help also has sample code for these events.
Adrian.
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
|