Jack,
sorry for delay in getting back to your question, but I was unable to look at the forum.
to answer your questions;
during debugging RTE is raised on attemping to execute the connections open method, and yes absolutely closed.
thanks again,
hugh
I am trying to connect to an Access DB using a standard ADO connection object. This runs perfectly when I do not set a password for the database;
Dim cn As Connection
Set cn = New Connection
With cn
.Provider = "Microsoft.jet.OLEDB.3.51"
.ConnectionString=...
Do you mean
Declare Function XXX (value as ###) AS Boolean
If value = test then
XXX = True
Else
XXX = False
End If
End Function
Sub ToCallXXXFunction()
Dim YYY as Boolean
...
YYY = XXX(PassValueIntoXXX)
...
End Sub
Indeed!, Those (') things can be extremely annoying (and time consuming to eliminate, especially in situations where you also have to use a lot of these (") things too).
Generally to avoid blindness, etc., I use a simple string variable like so:
Dim strApostrophe as string
strApostrophe =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.