data.connect = "Driver={SQL Server};..." is trying to connect to a SQL server.
You said you were using "only
VB and MS Access". I assumed
VB.NET. Do you mean VBA? Are you using VB6? If so, you should post in that forum.
IF this is just an Access database, then you need to state what it is you are trying to do.
For example:
"1. Who Server(of DataBases) bear DataBases MS Access?"
What does this mean? Are you asking what server will run an Access database? If so, any server will "run" it. You just leave the .mdb file containing the tables on the server, and then create a front end .mdb file with your queries, reports, forms, modules, etc.
"2. Who can I set an DataBase MS Access(named 'Mediu.mdb') to an Server(of DataBases), so that I can connect to 'Mediu.mdb' through Server. I want to connect thus: data.connect =
"Driver={SQL Server}; Server=Ion; Database=Mediu.mdb; Uid=as; Pwd=as;""
What does this mean? You want to connect to the Access database using code? From what? From a VB6 front end? From an Access front end? From a script? etc.
mmcdonal