Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 8th, 2005, 07:11 AM
Authorized User
 
Join Date: Mar 2005
Location: , , .
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Client-Server

   I need to connect to an Server, where is my DataBase, because I need the data from that DataBase for an program Client - Server. I do not need to use Web page. My program use only VB and MS Access. Whole operation evolve in LAN, NOT through WWW.

1. Who Server(of DataBases) bear DataBases MS Access?
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;"


 
Old April 8th, 2005, 11:14 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

I would post this in the VB.NET for Databases forum.

You say you are using Access, then you write SQL Server code.

VB.Net has a data wizard that will connect you to your databases.

I'm sorry but I don't understand the questions you are asking.

mmcdonal
 
Old April 8th, 2005, 02:35 PM
Authorized User
 
Join Date: Mar 2005
Location: , , .
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What signify "then you write SQL Server code"? Y need an Server like mySQL Server, but for MS Access DataBases.
Y use VB6

 
Old April 11th, 2005, 06:23 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

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




Similar Threads
Thread Thread Starter Forum Replies Last Post
Ajax client vs. Server JohnnyHood Ajax 3 January 4th, 2008 06:41 AM
Relationships: Client or Server? Aaron Edwards SQL Server DTS 1 October 23rd, 2006 08:17 AM
client server installation prodigy Access VBA 4 December 30th, 2005 08:00 AM
DLLs on server pulling server time or client? mussitsch Classic ASP Professional 1 March 1st, 2005 05:38 AM
client/server usmanibnesadiq BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 January 6th, 2005 12:32 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.