|
-
October 5th, 2001, 12:36 AM
#1
DBGrid Errors
Hello!
I have a form with a DBGrid, named DBGrid1, populated by an Access 97 table data through a Data Control. Data on the DBGrid can be modified. Why is it that the DBGrid issues an error message by itself when VB encounters a wrong input, such as inputting a string in a numeric data field type. VB cannot trap this error because if you get Err.Number, it is still 0. I need to trap this error so that I can customize the error message to make it more understandable for the user. Furthermore, the message box has a "DBGrid" title, that's why it seems that it is the DBGrid that issues the error, not VB. How can this error be trapped?
Thanks!
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
|