|
-
Mar 20th, 2003, 04:21 PM
#1
Thread Starter
Lively Member
Error Handling
I have this error handling statement:
on error goto fix:
fix: data1.Recordset.CancelUpdate
on the same statement i.e. fix I want to add this:
MsgBox "If a field is not filled in please enter N/A. This Record will not be saved", vbExclamation
I want this to come up along with CancelUpdate, but when I put it on the same line as data1.Recordset.CancelUpdate, I get a message saying "Expected end of statement"
Is there a way of doing what I want to do?
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
|