Results 1 to 6 of 6
  1. #1
    pjtessi9 is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    May 2019
    Posts
    12

    Question Create a report from Form which includes a subform

    Hi folks,


    I'll try to explain best what I am trying to accomplish.

    I have a form which contains a subform. The relation of those 2 tables are one to many, which means that for Form1 contains unique values and Form2 can have multiple values linked to it.

    Example: In Form1 there is a FILENUMBER. For that FILENUMBER, there can be muliples values in FORM2 (PERSON)
    RAI-200101-001 can have PERSON1, PERSON2, PERSON3

    The form is working great and displays the results I want. Now I want to be able to create a report that shows each FILENUMBER with the PERSON in it like:
    RAI-200101-001 PERSON1
    PERSON 2
    PERSON3

    Presently, the report shows me a line for each PERSON like
    RAI-200101-001 PERSON1
    RAI-200101-001 PERSON2
    RAI-200101-001 PERSON3

    Like I said, the data comes from 2 different tables that have a relation from one to many

    Is there a way that each entry from FORM1 SHOWS ALL THE PERSON LINKED TO IT BASED ON FILENUMBER LIKE ON A SINGLE LINE INSTEAD OF MULTIPLE LINES

    Thank you so much for your help!


  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2016
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722

  3. #3
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,412
    not sure what you are saying -

    this
    Now I want to be able to create a report that shows each FILENUMBER with the PERSON in it like:
    RAI-200101-001 PERSON1
    PERSON 2
    PERSON3


    or this?
    Is there a way that each entry from FORM1 SHOWS ALL THE PERSON LINKED TO IT BASED ON FILENUMBER LIKE ON A SINGLE LINE INSTEAD OF MULTIPLE LINES
    which implies

    RAI-200101-001 PERSON1 PERSON 2 PERSON3

  4. #4
    pjtessi9 is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    May 2019
    Posts
    12
    Is there a way that each entry from FORM1 SHOWS ALL THE PERSON LINKED TO IT BASED ON FILENUMBER LIKE ON A SINGLE LINE INSTEAD OF MULTIPLE LINES

    I want the FILENUMBER found in table FORM1 to show all the data associated with it from FORM2 to show up in the report.
    Some FILENUMBER will only have 1 entry from FORM2 or can have multiple entries.
    I want the report to sort by the unique FILENUMBER and show all the PERSON from FORM2
    Now what I get in the report is
    FILENUMBER and PERSON1
    on a second line, I get FILENUMBER and PERSON2
    on a third line, I get, FILENUMBER and PERSON3 and so on.


  5. #5
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,412
    Repeating what you have already said does not clarify what you are asking. Under the circumstances, suggest use a crosstab query.

  6. #6
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2016
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722
    pj,
    Ajax asked specific question in post #3. Please answer the question so readers understand what you are trying to accomplish.

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

Similar Threads

  1. Create a Keypad in an Access form and Subform
    By ramirezx@ddmfg.com in forum Forms
    Replies: 21
    Last Post: 05-12-2018, 04:51 PM
  2. Replies: 5
    Last Post: 02-19-2018, 02:52 PM
  3. Replies: 1
    Last Post: 09-20-2014, 05:12 PM
  4. Replies: 3
    Last Post: 08-04-2012, 10:06 PM
  5. Macro to open a report that includes certain dates?
    By hartandsoul85 in forum Access
    Replies: 2
    Last Post: 05-11-2012, 11:47 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