Solved

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

Posted on 2014-12-21
1
143 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
1 Comment
 
LVL 57

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

Independent Software Vendors: 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

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
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.
Viewers will learn how the fundamental information of how to create a table.

679 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