Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Multiuser / Networking / April 2005

Tip: Looking for answers? Try searching our database.

User login id for table level permissions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
karen scheu - 08 Apr 2005 17:45 GMT
My application contains a table for all order and sales information and
another table containing division/doc type cross ref.  They are linked by
doc type.  Division is always the main filter for the reports.  A User may
have access to view all divisions or only a few.  I wanted to create a
user/division xref table and all queries should join to that table to
determine based on the user, return a list of divisions.  The result will
be only sales & orders for those divisions will be returned.

I am new to access security, so please bear with me.  Will I need to grab
the access login id and use this as a parameter to my queries?  If yes, how
do I do this?  I feel lost and in need of direction.

Thanks,
Karen
Paul Overway - 08 Apr 2005 18:23 GMT
You can get the user name for the person that logged on by using the
CurrentUser() function.  If the query needs to be filtered based on the
CurrentUser(), you would use the function as criteria in the query.  The
query would be RWOP (run with owner permissions), and you'd prevent the
users from viewing the underlying tables directly by setting security for
those tables.

Signature

Paul Overway
Logico Solutions
http://www.logico-solutions.com

> My application contains a table for all order and sales information and
> another table containing division/doc type cross ref.  They are linked by
[quoted text clipped - 11 lines]
> Thanks,
> Karen
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.