473,513 Members | 11,702 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Best option for getting data from MS SQL to Access

2 New Member
I am a web developer who works plenty with SQL Server, and I really know very little about Access. But I have a project now that requires me to know something about it so I've been doing quite a bit of research.

Briefly: A definitive data set is kept in SQL server. An important user needs a copy of this data in her local copy of Access. Currently an antiquated process involving email and human intervention keeps this up to date (you don't want to know!) but that's becoming unfeasible very quickly. So my research on these forums and elsewhere has turned up a couple options and I need a qualified opinion to help me choose the best one, or suggest one I haven't even thought of. One caveat: I can't replace all of the user's access data indiscriminately because there are columns in Access not in SQL Server that she manages manually.

1) My first inclination: export updated SQL records once a day to an Excel file. That's easy. Then create a macro in Access to overwrite the affected records with new data.
-OR-
2) Do something with linked tables from SQL Server? I worry about overwriting the user's manually entered data with this option, but am still learning about it. Also, I don't want Access to be able to change data in SQL, but I think I can control this with user permissions, no?

Your opinions are welcome. Many thanks in advance.
Dec 31 '07 #1
4 1353
ADezii
8,834 Recognized Expert Expert
I am a web developer who works plenty with SQL Server, and I really know very little about Access. But I have a project now that requires me to know something about it so I've been doing quite a bit of research.

Briefly: A definitive data set is kept in SQL server. An important user needs a copy of this data in her local copy of Access. Currently an antiquated process involving email and human intervention keeps this up to date (you don't want to know!) but that's becoming unfeasible very quickly. So my research on these forums and elsewhere has turned up a couple options and I need a qualified opinion to help me choose the best one, or suggest one I haven't even thought of. One caveat: I can't replace all of the user's access data indiscriminately because there are columns in Access not in SQL Server that she manages manually.

1) My first inclination: export updated SQL records once a day to an Excel file. That's easy. Then create a macro in Access to overwrite the affected records with new data.
-OR-
2) Do something with linked tables from SQL Server? I worry about overwriting the user's manually entered data with this option, but am still learning about it. Also, I don't want Access to be able to change data in SQL, but I think I can control this with user permissions, no?

Your opinions are welcome. Many thanks in advance.
How about DTS (Data Transformation Services)? You can even create a DTS Package to periodically Transform the Data to a specific Access Database from SQL Server then run Action Queries within Access to Update/Delete/ Append, etc, the appropriate data. Your two Data Sources will be completely independent, you will not have to worry about Permissions, and the User cannot inadvertantly change Data within SQL Server. Since this important User needs just a 'Copy' of the Data within her Access Database, this may be a viable solution.
Jan 1 '08 #2
cprot225
2 New Member
How about DTS (Data Transformation Services)?
Thanks a lot for that great idea. I think I was getting hung up with the idea that the solution lay in Access itself, but I'm going to look more into DTS now and report back.

Other ideas or comments are naturally still welcome.
Jan 2 '08 #3
jaxjagfan
254 Recognized Expert Contributor
Is there a Primary Key for the data table?

Does the Access user maintain their data via a form currently?

The SQL table could be a linked table (user with READ rights). Displayed in a form. The user could edit and maintain his/her portion of the information in another table via a subform. No need for updates or worrying about changing each other's data. This also leaves you with a smaller mdb file if your database is continually increasing in size.
Jan 2 '08 #4
ramdil
46 New Member
Hi

I think you need to create a DSN name which connects access to sql
In access, then try to export the link tables which is the orginal tables in sql table..Then you can also create a local tables in access itself for your user input and every thing related with access.By this method ,you can get the latest values in sql server always available in access


Regards
Dilip
Jan 10 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

18
9170
by: Lorenzo Bolognini | last post by:
Hi all, i am an ASP developer with 1,5+ years experience. After sneaking around the ASP Classic world for a bit i became a bit dissatisfied of my ASP code practices so i'd like to have some...
5
4934
by: great_googley_moogley | last post by:
Greetings, I am in the process of installing a SQL database at a customer location. I have determined that there are 3 ways to do this, and I wanted to know which is the best of the 3. 1...
11
9213
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
3
2055
by: Alex | last post by:
Hi all, I'm looking for some advice on how best to implement storage of access logs into a db/2 8.1.4 database running on a RH 7.2 system. I have 5 (squid) web caches running here that...
20
2370
by: Greg | last post by:
I'm fairly new to access (using 2002) and am setting up a DB for work. along with each record the user also needs to make a flow diagram (previously, these reports were composed in word and they...
13
2470
by: BK | last post by:
Our .Net team has just inherited a junior programmer that we need to get up to speed as quickly as possible. Unfortunately, his skill set is largely Access with some VB6 and ASP classic...
9
1697
by: Yehia A.Salam | last post by:
Hello, I am building an ASP.net website that connects to an XML database, and was wondering which is the best way to create the connection if I need frequent access to the database, I have one...
3
1368
by: =?Utf-8?B?SlA=?= | last post by:
I have a web application that will handle anywhere for 50 to 175 users at one time but will likely have a user base in the 100s. This application contains a GUI interface for the every day user and...
4
1521
by: trullock | last post by:
Hi, Can anyone suggest the best way to go about the following... I'm tracking clicks (mouse down x,y coordinates) on a web page by using some javascript to create an XHR which sends the...
0
7153
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7432
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7519
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5677
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5079
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4743
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3230
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3218
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
796
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.