The error I'm getting comes up before entering the Form_Load Procedure.... (I've had it come up right at the beginning of Form_Load, (before the first line of code), or even before that. I want to be able to assign it like so:
with form1
.ADODC1.ConnectionString = "connection string"
.ADODC1.Refresh
end with
The problem is, before I get to these lines, I get an error (unnumbered) because the current connection string is invalid (I purposely misspelled it before running, since it might have to be changed during runtime). The error says someting like
"(Unknown) is not a valid path. Make sure you have spelled the pathname correctly, and that you are connected to the server on which the file resides"
How will I get around this?
Thanks,
Ray