SQL Server

T588

Registered User.
Local time
Today, 18:18
Joined
Feb 3, 2003
Messages
65
What i'm searching for now is how to do away with the indiviual tables in the access database and link to tables in our sql database. Tables that have already been created in great plains. This eliminates having to update more than 1 set of tables and the SQL tables are already updated (new information) by the accounting dept.
Can anyone clue me into what to search for?
Much appreciated!
vince
 
You need to create a system DSN to the SQL Server. What does that mean? Under the Control Panel, you will have an ODBC Connectivity or a Data Source (ODBC) option. Here you will create the DSN to your SQL Server. Select the System DSN tab, select Add ... then select the SQL Server driver. Fill in the wizard. Then go back to Access and select File ... Get External Data ... Import. A dialog box will open. At the bottom, where there is a dropdown box for Files of Type ... select ODBC Databases. This will bring up the DSN selector. Again, select the System DSN tab ... then your SQL Server DSN that you just created. This will pop up a box where you will input your username and password BUT WAIT, don't hit OK, yet. You will see an Options ... button. After entering in your info, select this button. Here you can select which database you want to select from under your SQL Server. Now select OK, and another box will pop up listing all of the tables in the selected database for the selected SQL Server DSN.

HTH
 
Extremely great full for your help…

Thanks again
Vince
 
I located and placed the needed ODBC tables in my database (note: did not replace – as I left the originals in place (renamed) for maintenance proposes if needed)

Question – once I set up the same relationships as the former (natural) tables had – will the ODBC tables populating the access database will reflect any changes made to the SQL database tables in real time or do I need to set up some kind of “re-link” or “refresh” VB in the “OnLoad” of the form?

Vince
 
Correction.......

I realize relationships have nothing to do with the question their on the front end.....

I should have asked, "after I link the ODBC tables" will........

I was thinking outloud ........you just couldn't hear me!

Vince
 

Users who are viewing this thread

Back
Top Bottom