473,385 Members | 1,337 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,385 software developers and data experts.

running remote queries

I have an Access database on a server which utilises data from an SQL server on the same machine (it's set up like this because I have some limited access skills but no sql skills and because the sql database is an erp system which I prefer to keep discrete).

I want to provide limited reporting and (non-updating) query capabilities to authorised users on the lan/wan. I'm hoping I can install access on each user's machine and link to selected reports and/or queries in the server's access database. I fear I will be able to link only to tables and that is a no-no because of the danger that the users will update the underlying sql database.

So - can I link to queries and reports ? If so, how ? If not, please suggest a simple alternative.

Many thanks.
Mar 21 '07 #1
7 3559
NeoPa
32,556 Expert Mod 16PB
You're talking about linking to the SQL Server db or the Access db on the same machine?
With SQL Server you can link to queries (or the equivalent - Views), but on Access you can only link to tables.
If you can be clearer exactly what you want to do and what to restrict we can take this a little further.
Mar 23 '07 #2
You're talking about linking to the SQL Server db or the Access db on the same machine?
With SQL Server you can link to queries (or the equivalent - Views), but on Access you can only link to tables.
If you can be clearer exactly what you want to do and what to restrict we can take this a little further.
I want to link to a view of data in the SQL database. So I can't use Access on the client machines and will have to use SQL ?
Mar 26 '07 #3
NeoPa
32,556 Expert Mod 16PB
No, you should be fine.
Linking to a View is similar to linking to a SQL Srvr Table. Use ODBC Link to your SQL Srvr to get list of items to link to.
Mar 26 '07 #4
Thanks for your help but sorry - I'm not getting this !

When I open my access database and "get external data" and then choose link tables the only information that is displayed is a Link Tables box with only one tab (Tables) with all the tables in the SQL database listed.

Am I seeing only tables because I haven't created any views in the SQL database yet ? I would have created an SQL view and found out rather than ask the question but I haven't yet learnt how to create an SQL view !
Mar 28 '07 #5
NeoPa
32,556 Expert Mod 16PB
As I'm currently at work I can check this out for you.
Mar 28 '07 #6
NeoPa
32,556 Expert Mod 16PB
The Views show in the list of Tables when connecting to the SQL Server via ODBC to attach.
Mar 28 '07 #7
NeoPa
32,556 Expert Mod 16PB
A View in SQL Server is simply like a QueryDef (Saved Query) in Access. You can create one simply by selecting New in the Views of the database (In SQL Server Enterprise Manager) and typing in or designing your query. T-SQL code will be taken or, alternatively, use the design tools there of selecting tables and fields etc.
Mar 28 '07 #8

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

Similar topics

1
by: Terje J?sang | last post by:
I am struggling with the performance of a SQL of the following structure: SELECT <cols> FROM tab1@remote t1, tab2@remote t2 AND t1.col = t2.col UNION ALL SELECT <cols> FROM localtab1...
5
by: Roger | last post by:
I would like to get a list of running processes on a remote machine. How is this possible via VB.Net? Is it possible? Can someone point me in the right direction. thanks, rog
4
by: Dr. StrangeDub | last post by:
I am part of a group that has developed an ASP.Net web application. I am looking for a way to determine whether or not the browser is actually running on the web server. For this case (when...
9
by: Greg Gursky | last post by:
Hello: I'm doing some planning on a potential project with which I need some help. The database at the focus of this question is a MS Access database that is currently accessed by DAO from a...
4
by: aspsql | last post by:
I have a website which runs off a Access database which I am currently converting to sql server database. I would like to still use my access front end for reporting and queries.. I created an...
1
by: Aaron West | last post by:
Try this script to see what queries are taking over a second. To get some real output, you need a long-running query. Here's one (estimated to take over an hour): PRINT GETDATE() select...
1
by: DR | last post by:
What ports do i need to unblock on client and server (running msvsmon.exe) to debug remotely from my client box with visual studio 2005 pro? When I attach to remote process a connection shows up...
10
by: Richard | last post by:
Hi folks, thanks for taking the time to read this (and hopefully point our where I'm going wrong). The scenario: I have a local Access2007 database which links in several read only mySql...
10
by: teddysnips | last post by:
My clients have asked me to maintain a database that was developed in- house. It's pretty good, considering the developer isn't a "programmer". The first thing they want me to do is to split it...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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...

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.