Results 1 to 2 of 2
  1. #1
    abhijeetkadam is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2013
    Posts
    3

    Connect to sql server from ms access 2010 through DAO

    Hi all,
    Thanks for viewing this question.
    I have a code which connects to sql server using DAO. I would like to know is that do my system require sql server native client installed to run this code? or what software needs to be installed to have this code works for me?
    Thanks
    Abhijeet

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,862
    I am not an expert on the subject but I believe all you need are the drivers installed on the client machine. As long as you have the DNS name and select the correct type of connection, you should be OK to create an ODBC connection. Then you can open a recordset using VBA. Another option would be to create a project file and connect to SQL server using the .adp file extension. This uses a different database engine and has its own set of rules.

    Hopes this helps

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 07-17-2011, 08:57 AM
  2. Replies: 1
    Last Post: 07-16-2011, 01:40 PM
  3. Can't connect Access 2010 to SQL Server 2008 R2
    By LAazsx in forum Import/Export Data
    Replies: 6
    Last Post: 12-10-2010, 08:44 PM
  4. Replies: 5
    Last Post: 03-29-2009, 07:20 AM
  5. Replies: 0
    Last Post: 03-09-2009, 12:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums