Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / November 2005

Tip: Looking for answers? Try searching our database.

how to connect the access to the sql

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
benson - 29 Nov 2005 09:48 GMT
wo know access can connect to the sql serve made by microsoft , but i  can
not get the success  ..the access .adp can connect the sql ,but i know sql
server little ,  your help i s great and thank you for advance /
Ed Warren - 29 Nov 2005 11:07 GMT
To link in Access (mde, mdb) to SQL you can use an ODBC connection (control
panel, odbc, add a connection to your sql server, then use that connection
as a link in Access)

and/or
use VBA code to build a link

To link a *.adp file you use ADO connections.

Ed Warren

> wo know access can connect to the sql serve made by microsoft , but i  can
> not get the success  ..the access .adp can connect the sql ,but i know sql
> server little ,  your help i s great and thank you for advance /
benson - 30 Nov 2005 01:12 GMT
i know vba code but , i can write the code :
set rs = new adodbo.recordset
temp = "select * from  table where  ^"
rs.open temp ,currentprojection.connection ,*,*
i know the currentprojection,connection
but i don't how to write the code to  build the link that access to sql
can you give me a exampe
thanks for advence

> To link in Access (mde, mdb) to SQL you can use an ODBC connection (control
> panel, odbc, add a connection to your sql server, then use that connection
[quoted text clipped - 10 lines]
> > not get the success  ..the access .adp can connect the sql ,but i know sql
> > server little ,  your help i s great and thank you for advance /
Ed Warren - 30 Nov 2005 02:57 GMT
Someone else here will have to help with the code.  I go via the ODBC route
and/or use the *.adp option.

Ed Warren.

>i know vba code but , i can write the code :
> set rs = new adodbo.recordset
[quoted text clipped - 23 lines]
>> > sql
>> > server little ,  your help i s great and thank you for advance /
benson - 30 Nov 2005 06:13 GMT
thank you

> Someone else here will have to help with the code.  I go via the ODBC route
> and/or use the *.adp option.
[quoted text clipped - 28 lines]
> >> > sql
> >> > server little ,  your help i s great and thank you for advance /
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.