LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Limiting tables in Excel query

Thanks for this DCM

I think we may need to go the web intranet route (ie create an IE form of
the data they are allowed) because our accounts system doesn't have cut and
dried tables so even though a sales person isn't allowed to look at
purchasing table, the nominal side of both the sales and purchase tables use
common data and this may limit the data in some way.

Your comments have proved food for thought though and I'll pass it onto our
gurus for them to suss out.

Thanks

Laphan

DCM Fan wrote in message
...
I don't think there's anyway to limit the tables available (visible), but
it's
certainly possibly to prevent users from selecting from them.

You say: <<by checking what SQL role they are in.

You'll need to go back to that role and set the SELECT permissions on only
the
tables that the SALES people need.

Sure, they might be able to "see" every table in MS Query, but they should
only
be able to select records from tables with the appropriate SELECT
permissions.
If the add a table w/o SELECT permission, the driver should return an error
like "user does not have the appropriate permsission on object <table"

The bottom line is that you can't limit the tables "showing up" in MS Query;
you'll have to control this from SQL Server.


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel query via ODBC, left joins on multiple tables Todd Excel Discussion (Misc queries) 0 February 26th 09 05:42 PM
Adding tables in Excel Query J Gui Excel Worksheet Functions 0 February 19th 08 09:46 PM
Limiting size field MS query returns LarryLL Excel Discussion (Misc queries) 0 July 6th 06 11:52 PM
Two Excel tables in MS Query Jamshed Excel Discussion (Misc queries) 0 June 24th 05 12:33 PM
Limiting return on Excel Web Query ... D'Arcy McGrath Excel Programming 0 August 18th 03 04:22 PM


All times are GMT +1. The time now is 04:59 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"