Results 1 to 2 of 2
  1. #1
    Mtyetti2 is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Jan 2013
    Posts
    26

    Subform connected with 2 fields

    I have a pilot database which uses a subform to log flights. The 2 fields I need to relate to the master form is 'Captain' and 'CoCaptain'. I can see in the properties of the subform, I can link one of these fields to the master field. Is there a way to make an 'or' statement somewhere, so that the subform can return results where the pilot is either the Captain or CoCaptain?

    The Master form is the pilots, and the subform is the events flown by that pilot.



    Thank you so much!

  2. #2
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850
    Can you show your tables and relationships as a jpg?

    Usually with Form /SubForm you have a 1 to many relationship
    eg
    A Pilot flies Many Flights

    So in your case, What is the data associated with your mainForm?

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

Similar Threads

  1. Replies: 2
    Last Post: 06-22-2012, 10:06 AM
  2. How to use database when not connected to network?
    By justhininabouti in forum Database Design
    Replies: 5
    Last Post: 03-21-2012, 02:49 PM
  3. Connected Listboxes
    By brc in forum Queries
    Replies: 2
    Last Post: 07-08-2011, 09:22 AM
  4. Replies: 1
    Last Post: 12-01-2009, 09:00 AM
  5. Two textboxes connected to the same table
    By ma09fraga in forum Forms
    Replies: 6
    Last Post: 06-11-2009, 12:42 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