Results 1 to 2 of 2
  1. #1
    josnow is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2012
    Posts
    10

    Conditional list table


    I have created a form with two tables. One table is the SOP table which includes the following: SopId, SopName, SopLocation, RoleId, SopOwner, etc. The second table SopReviewer includes SopReviewerId, SopReviewerName, RoleId. I want to put a List Box in my form which will shows the SopName, SopLocation, RoleId and SopReviewerName by RoleId. I want the SopReviewerName to be a List Box that shows only the records from the SopReviewerName on the SopReviewer table in which the RoleId from the SOP table (also the RoleId on the form) equals the RoleId on the SopReviewer table. How would I make this happen in which I can only chose those SopReviewName by RoleId from both tables? Also, once I have the code, where would it go on the form?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    What do you mean by 'a form with two tables'? Both tables are included the form RecordSource. Doubt this will work. Sounds like you need a form/subform arrangement. Review http://office.microsoft.com/en-us/ac...010098674.aspx
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 3
    Last Post: 10-25-2012, 09:37 PM
  2. Replies: 2
    Last Post: 04-05-2012, 08:39 PM
  3. Replies: 2
    Last Post: 09-08-2011, 01:10 PM
  4. Conditional Table relationship?
    By srf.ucd in forum Database Design
    Replies: 1
    Last Post: 05-13-2011, 10:32 AM
  5. Conditional Formating in pivot table
    By Tina in forum Access
    Replies: 0
    Last Post: 08-25-2010, 10:38 AM

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