Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old July 15th, 2005, 03:15 PM
Registered User
 
Join Date: May 2005
Location: Philadelphia, PA, USA.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Access 2000 "Connect to SQL Server"

I have a link table from a SQL Server but I’m having trouble connecting to the table and adding records. I've done a search on google groups looking for code, but I don't understand what I’ve found. Can anyone provide me with code to connect to the table? Also, it would be nice if someone could explain the important parts.

Thanks

  #2 (permalink)  
Old July 17th, 2005, 02:09 AM
Authorized User
 
Join Date: Aug 2004
Location: rogers, ar, USA.
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The only difference that I have found from connecting to a link table in SQL server and a link table from say a different access application is that when you connect to the sql server table, you have to use a prefix of dbo_. So if you have table employee that you link to is sql server, you would access it by the name dbo_employee.

I bet that doesn't help, but you never know :)

nikotromus


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chpt 3 - Connect to SQL Server 2000 Database BennyHill BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 6 June 7th, 2007 03:30 PM
CAN NOT CONNECT TO SQL SERVER 2000 REMOTELY charlietritran SQL Server 2000 9 December 22nd, 2006 04:14 PM
Connect to SQL server 2000 from home! Jane SQL Server 2000 5 June 7th, 2006 03:42 PM
Connect SQL Server 2000 with VB6 sanjna000 SQL Server 2000 1 May 8th, 2006 02:01 PM
Can't connect to SQL server 2000 in local PC shalim SQL Server 2000 1 November 24th, 2005 01:09 AM





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