Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert Data from a form to a table using the INSERT Comm
Message
From
14/12/2001 09:46:05
 
 
To
13/12/2001 23:24:21
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00593665
Message ID:
00594380
Views:
29
First, you'll have to put a number on each line of code.
An then, in your error handling, you can access the error line by the
Erl property.
Like:
  Sub Test()
  On Error GoTo errHandler
     Dim a
1    a = 1
2    MsgBox a / 0
3 Exit Sub
4 errHandler:
5      MsgBox Erl
  End Sub
HTH
Patrice Merineau
Previous
Reply
Map
View

Click here to load this message in the networking platform