G
gga
have a problem trying to link my access table using VB
I can connect using the below connection string ....
Driver={SQL
Server};SERVER=MYSERVER;UID=MYUSERNAME;PWD=myPASSWORD;DATABASE=myDATABASE;
WHEN I USE....
Set dbsODBC = OpenDatabase("",False, False, strConnect)
BUT IF I try to disable the prompt using....
Set dbsODBC = OpenDatabase("", dbDriverNoPrompt, False, strConnect)
AND
Set dbsODBC = OpenDatabase("", dbDriverNoPrompt, False,"ODBC;" &
strConnect)
my connection either does not connect or it displays the prompt. I
think the problem has something to do with me not using a DSN, but I
thought I should be able to connect without one. PLEASE HELP!
What am I doing wrong, and why would this be happening?
I REALLY NEED A SOLUTION---PLEASE!!!!!!!!!!!!1
THANK YOU!!
I can connect using the below connection string ....
Driver={SQL
Server};SERVER=MYSERVER;UID=MYUSERNAME;PWD=myPASSWORD;DATABASE=myDATABASE;
WHEN I USE....
Set dbsODBC = OpenDatabase("",False, False, strConnect)
BUT IF I try to disable the prompt using....
Set dbsODBC = OpenDatabase("", dbDriverNoPrompt, False, strConnect)
AND
Set dbsODBC = OpenDatabase("", dbDriverNoPrompt, False,"ODBC;" &
strConnect)
my connection either does not connect or it displays the prompt. I
think the problem has something to do with me not using a DSN, but I
thought I should be able to connect without one. PLEASE HELP!
What am I doing wrong, and why would this be happening?
I REALLY NEED A SOLUTION---PLEASE!!!!!!!!!!!!1
THANK YOU!!