Results 1 to 3 of 3
  1. #1
    amcglone is offline Novice
    Windows XP Access 2002
    Join Date
    Jun 2010
    Posts
    1

    Question Sub-Form Question


    I have created a table that I would like to use to populate information in a sub-form. The sub-form may have multiple entries from the table, but will never include all of them. I am not sure what I am doing wrong, but when I am dropping the sub-form onto the existing form, it is pulling all of the information from the table instead of parts of it.

  2. #2
    Datagopherdan is offline Competent Performer
    Windows 7 Access 2007
    Join Date
    Dec 2008
    Posts
    220
    You need to link the master and child fields between the main form and the sub-form. I'm assuming it's a one to many relationship between the data source in the main form and the data source in the sub-form. Let's say that the relationship is set between a field called MainID in the main form's data source and a field called SubID in the sub-form's record source. Go to the sub-sub-form's properties and under the data tab, you'll see "Link to Master Fields", click on that and from there you can set the relationship.

    Quote Originally Posted by amcglone View Post
    I have created a table that I would like to use to populate information in a sub-form. The sub-form may have multiple entries from the table, but will never include all of them. I am not sure what I am doing wrong, but when I am dropping the sub-form onto the existing form, it is pulling all of the information from the table instead of parts of it.

  3. #3
    ConneXionLost's Avatar
    ConneXionLost is offline Simulacrum
    Windows XP Access 2003
    Join Date
    Jan 2010
    Location
    Victoria, Canada
    Posts
    291
    Since you only appear to mention "one" table, Dan's assumption:

    Quote Originally Posted by Datagopherdan View Post
    ... I'm assuming it's a one to many relationship between the data source in the main form and the data source in the sub-form. ...
    needs your validation. Please confirm you are using two joined tables as a basis for your form/sub-form development.

    Cheers,

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

Similar Threads

  1. Replies: 10
    Last Post: 04-07-2010, 07:37 AM
  2. Question on filtering a form
    By jbarrum in forum Forms
    Replies: 12
    Last Post: 02-15-2010, 11:38 AM
  3. Form query question
    By Subotai in forum Forms
    Replies: 1
    Last Post: 02-04-2010, 05:06 PM
  4. Question about Form
    By ACM in forum Programming
    Replies: 3
    Last Post: 10-09-2009, 04:25 PM
  5. Form Event Question
    By protean_being in forum Forms
    Replies: 3
    Last Post: 05-06-2008, 10:43 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