Results 1 to 4 of 4
  1. #1
    TrudyD1474 is offline Novice
    Windows XP Access 2003
    Join Date
    May 2010
    Posts
    10

    Unhappy POPUP Submenu

    I have three tables: Farm; Contact; Activity.
    I need to document (activity) the when and why a salesman contacted a specific person (Contact) on a specific Farm (Farm).
    Farm is one to many with contact
    Farm is one to many with activity
    Contact is one to many with activity
    So I have a form with Farm as the master and contact and activity as subforms
    This works great.
    However, I would like the Activity Subform to popup/have the same relationships it still has with Farm and Contact. When the button is activate, I obviously would like it to contain the Farm ID and the Contact ID.


    I can use a Command Button to open the form, but I can't get it to relate to the master form.
    Hellp

  2. #2
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    something that caught my eye that may be part of your problem.

    "Farm is one to many with contact
    Farm is one to many with activity
    Contact is one to many with activity"

    Farm 1---M Activity M---1 Contact
    =
    Farm M---M Contact with Activity as a junction table. Yet you said Farm is 1-M with Activity. Kinda confused about that.

  3. #3
    TrudyD1474 is offline Novice
    Windows XP Access 2003
    Join Date
    May 2010
    Posts
    10
    Ok, you're right.
    I'm building a new record to correct the many to many between Farm and Contact.

  4. #4
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    by "to correct" do you mean there shouldn't be a many to many between Farm and Contact? That's what I'm leaning towards. I think each Contact can only be on one farm but one farm can have many contacts. I would add another table, Employee (salesmen) and have the following relationships.

    Employee 1---M Activity M --- 1 Contact M --- 1 Farm

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

Similar Threads

  1. Combobox Popup
    By babbelut in forum Programming
    Replies: 1
    Last Post: 05-27-2010, 12:02 AM
  2. Access POPup forms - setting position
    By malcolm.wilcock@tesco.net in forum Forms
    Replies: 5
    Last Post: 02-24-2010, 10:56 AM

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