Results 1 to 6 of 6
  1. #1
    breana is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Mar 2011
    Posts
    9

    Question Variable Filter

    This is the situation, I'm new to access:

    Table_1
    User1 is assigned to Site1, Site2, Site3
    User2 is assigned to Site2, Site4
    User3 is assigned to Site4

    Table_2
    Contains info on all sites

    Now how do I filter the information displayed for user access?

    I want User1 to see his assigned sites on Table_2, obviously not all sites.
    I want User2 to see his assigned sites etc, etc


    ....

    How do I do this, any help will be highly appreciated!

  2. #2
    breana is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Mar 2011
    Posts
    9
    I found a solution but the fields are not updateable. Please help!

  3. #3
    breana is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Mar 2011
    Posts
    9
    Is there other way aside from using a query and then be able to modify records?

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,847
    What is the issue with a query?
    If your concern is that
    a) user 1 and user2 both access site2
    b) user2 and user3 both access site4.

    Can you restrict user update to specific records at a site?

  5. #5
    breana is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Mar 2011
    Posts
    9
    Hello Orange,

    I was able to filter users according to their assigned sites but they can't update records (error message was "recordset is not updatable")

    Users who are not assigned to a site should not display other user's site records. My only problem with that query I did was the user was unable to modify records.

    Thanks for any help you could provide.

  6. #6
    breana is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Mar 2011
    Posts
    9

    see attached file

    I've attached an mdb, see how to make the query able to modify records. thanks!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Report with variable name
    By KickPuncher in forum Reports
    Replies: 13
    Last Post: 12-30-2010, 11:04 AM
  2. variable NOT visible -Please help
    By iamraja5 in forum Programming
    Replies: 10
    Last Post: 11-07-2010, 11:02 AM
  3. Replies: 4
    Last Post: 08-05-2010, 01:26 PM
  4. Refering to variable form names inside a variable
    By redpetfran in forum Programming
    Replies: 2
    Last Post: 05-21-2010, 01:39 PM
  5. Variable Criteria
    By JamesLens in forum Queries
    Replies: 0
    Last Post: 01-02-2009, 04:55 PM

Tags for this Thread

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