?
Solved

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

Posted on 2014-12-21
1
Medium Priority
?
155 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 2000 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
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…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

719 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