473,387 Members | 1,453 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Database Queries with DSN-less ODBC Connections

Friends:

I create excel spreadsheets linked to central SQL Server or Access databases. The difficulty is that often users are unable to refresh the linked data -- even when they have security access to the necessary databases.

Does anyone know a way to set up a spreadsheet so that the pointer to the database is contained in the spreadsheet (so that the spreadsheet will point to the database without setting up DNS links on every user's computer)?

Thanks
Nov 12 '08 #1
4 2118
Stang02GT
1,208 Expert 1GB
In Access you can actually use the spread sheets as tables. Have you tried that yet?
Nov 13 '08 #2
In Access you can actually use the spread sheets as tables. Have you tried that yet?
Thanks for your answer, but I guess my question wasn't clear: I need spreadsheets to link to tables and queries in Access and SQL Server, not vice versa. The problem is how to set things up so that users can refresh the data.

I can easily set this up to work on MY computer with DSN (?) setups. But I can't set up the DSN connections on all of the computers that will use the spreadsheets. Is there a way of setting these up without DSN?
Nov 13 '08 #3
Stang02GT
1,208 Expert 1GB
If you link the spread sheets into access as tables then they are automatically refreshed.

If a user makes a change to the spread sheet it will show up in Excel. If you make a change in access it is going to show up in the spread sheet. So there is no need to refresh the data.
Nov 13 '08 #4
Once again, I have not made my question clear.

I have "live" database tables maintained in SQL Server. I have created Excel spreadsheets to summarize information from that database. I'd like users to be able to refresh the data in these reports so they can reflect the most recent data in the SQL database.

I can easily set this up to work on MY computer with DSN (?) setups. But I can't set up the DSN connections on all of the computers that will use the spreadsheets. Is there a way of setting these up without DSN?
Nov 17 '08 #5

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

Similar topics

3
by: cooldv | last post by:
i am running a website on Windows 2000 server with ASP 3 webpages and Access 2000 database. (with a hosting company) traffic is slow at this time but expect to grow. lately i have been reading...
12
by: Nick Stansbury | last post by:
Hi, Access 2003. Running over terminal server on a Windows Server 2003 box. The error occurs on every machine that I've tried copying the file to. Latest Jet SP & Office SP. Database hasn't been...
0
by: Andrew Spencer via AccessMonster.com | last post by:
I am calling an Access report (/runtime version) from a VB.NET windows application, with the report data coming from a DSN connection to a local MSDE instance. The report prints the requested number...
4
by: Bart Swisher | last post by:
I have an Access database that I have web enabled using ASP, everything works fine except for one thing. Let me start by giving a background of the requirements. This is an online obituary...
3
by: Niks | last post by:
Hi, I need to connect to SQL server Database using a System DSN. Can anyone tell me how to connect to SQL Server using DSN in ASP.NET (VB.Net). Using a Try Catch block. Does anyone know how to...
1
by: dk | last post by:
this is the DSN connection string in web.confi <add key="DSN" value="server=localhost;database=userDB;Integrated Security=SSPI" / any idea regarding what is causing this following error message...
7
by: Luis Mendes | last post by:
Hello, I've a application in VB.NET that uses a connection to a Access data base stored in my Hard Drive. How can I change the location of the database (To a network) and change the conection...
14
by: kdv09 | last post by:
Hi! I'm looking for some help in fixing my screwup: I've got C++ app which reads MDB database, using MFC CDatabase and CRecordset derived classes. I had it working OK on development PC (Win XP...
3
by: Max Powers | last post by:
Hello all, we finally upgraded our system so now our data is on a SQL 2000 database and our front end is on an Access 2000 database. Everything's looking good so far, but there's this little issue...
0
by: madx_hu | last post by:
Hi all, I am trying to create an Excel sheet using VC++ dotNet. I am using CDatabase and CRecordset calsses and standard SQL queries for creation and Insertion of data in the sheet. I am havin...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.