Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    hinchi1 is offline Competent Performer
    Windows 10 Access 2013 32bit
    Join Date
    Sep 2017
    Posts
    181


    Quote Originally Posted by Gicu View Post
    @amicron - what you're showing is what I mentioned in my original post - controlling what a certain user can do (open forms, click buttoms, view textboxes, etc.). I have a free utility that does that using a custom system table so it uses record based "access rules" rather than VBA hardcoded rules.
    https://forestbyte.com/ms-access-uti...access-levels/
    What the OP wants is a totally different thing, the need here is to restrict data to a certain subset (so for example a manager can see only their department data). You mention that your third video is showing how to restrict the data for the current user's own records (probably by storing that in the table with a default from the login form), which is closer to what OP wants but still not quite. Restricting data can only be done by manipulating the form's (or report's) recordsource. With an Access back-end that can only be done by criteria in a query; for SQL Server, MySQL, Oracle and similar you can use views in the back-end to enforce the data based on the login permissions.

    Cheers,
    Unable to access the link you posted.

  2. #17
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,940
    Works for me?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  3. #18
    hinchi1 is offline Competent Performer
    Windows 10 Access 2013 32bit
    Join Date
    Sep 2017
    Posts
    181
    Might be restricted through my organisation

  4. #19
    hinchi1 is offline Competent Performer
    Windows 10 Access 2013 32bit
    Join Date
    Sep 2017
    Posts
    181
    Just tried link on my mobile, 403 forbidden. Will check security settings

  5. #20
    hinchi1 is offline Competent Performer
    Windows 10 Access 2013 32bit
    Join Date
    Sep 2017
    Posts
    181
    Quote Originally Posted by Gicu View Post
    @amicron - what you're showing is what I mentioned in my original post - controlling what a certain user can do (open forms, click buttoms, view textboxes, etc.). I have a free utility that does that using a custom system table so it uses record based "access rules" rather than VBA hardcoded rules.
    https://forestbyte.com/ms-access-uti...access-levels/
    What the OP wants is a totally different thing, the need here is to restrict data to a certain subset (so for example a manager can see only their department data). You mention that your third video is showing how to restrict the data for the current user's own records (probably by storing that in the table with a default from the login form), which is closer to what OP wants but still not quite. Restricting data can only be done by manipulating the form's (or report's) recordsource. With an Access back-end that can only be done by criteria in a query; for SQL Server, MySQL, Oracle and similar you can use views in the back-end to enforce the data based on the login permissions.

    Cheers,
    Hi Guci
    Any chance you could message me so I can access the link please.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Need help with VB Logon Screen
    By tmb842 in forum Access
    Replies: 6
    Last Post: 12-27-2016, 06:16 AM
  2. Multi User Logon: Check Box = Diffrent Forms
    By Zantox in forum Programming
    Replies: 7
    Last Post: 11-11-2012, 01:01 PM
  3. Replies: 1
    Last Post: 02-25-2012, 01:14 PM
  4. Logon Error on access
    By jhargram in forum Security
    Replies: 5
    Last Post: 02-24-2012, 05:36 AM
  5. Replies: 0
    Last Post: 09-27-2011, 12:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums