Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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;"


Reply With Quote
  #2 (permalink)  
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
Reply With Quote
  #3 (permalink)  
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

Reply With Quote
  #4 (permalink)  
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 06:53 AM.


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