Solved

Set up MS Access client with SQL server on computers connected via a hub with no domain

Posted on 2014-12-21
1
151 Views
Last Modified: 2014-12-21
I have always built ms access clients linked to a SQL server backend on a network with a domain.  I have a potential client who does not have a domain network setup but a couple of pcs connected via a hub.  They have a computer identified to be the server and this too is connected to the hub.  

Can I still set up an MS Access client pointing to a SQL server backend on this network.  I am sure this can work but need confirmation and the SQL connection string format.

Below is the string format I currently use
Public Const connstring = "Provider=SQLOLEDB;DRIVER=SQL Server;SERVER=" & serverip & ";UID=" & usernamewrite & ";PWD=" & passwordwrite & ";DATABASE=SQLDatabase;encrypt=true"

Will the string above still work or will it have to be altered?
0
Comment
Question by:RDLFC
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 58

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 500 total points
ID: 40512217
Yes.  So server has two firms of authentication,  trusted connections ( which relies on the network login and a domain) and sql server security,  which relies on a username and password being supplied.   That's what your doing with the connection string now, so no changes.
Jim
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question