Hi,
I have the follwing code :
Set cnn1 = New ADODB.Connection
strCon = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=D:\Access DataStore\..."
On Error Resume Next
cnn1.Open strCon 'the program stops here and generates an error...
If Err.Number > 0 Then
...
End if
I intentionally run the code so that it generates an error because I want to test my error trapping functionality.
It doesn't work - only the
VB Error Message Window keeps popping up.
What am I missing ?
Thank you
Mike