Results 1 to 2 of 2
  1. #1
    Turncloud is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Jul 2013
    Posts
    22

    Simple report getting complicated - same source twice in query

    I have a simple database with a single table - called ECN



    The records in this table are either Master-ECNs or Sub-ECNS, determined by a field called ECN_type.
    If a field is a SUB-ECN then there is another entry in a field called related_ECN that records which Master-ECN the sub relates to.

    This is all clear in a very simple report that shows the master-ECN number and a list of the sub-ECNS that relate to it (as below)

    Click image for larger version. 

Name:	ecn.png 
Views:	8 
Size:	24.3 KB 
ID:	29187

    The source of the report is a query that pulls only these few fields from the main table and checks the 'type' field to only list sub-ECNS.

    Now the customer wants me to show some additional fields about the Master-ECN (the number at the top) such as it's own Customer, Part Number fields, but I can't work out how to include this in my query (as a source). Any ideas on how to tackle this ?

    Simon

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    if you aren't using a report/subreport format you may want to consider this. Your report isn't complex and it may be a better option for you. in other words your 'main' report would be built on the 'master' records and your subreport would be built on the 'detail' records linked on the related_ECN to master_ECN.

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

Similar Threads

  1. Report order different than source query
    By Bazsl in forum Reports
    Replies: 2
    Last Post: 11-29-2021, 03:14 PM
  2. Replies: 3
    Last Post: 02-08-2016, 02:22 PM
  3. Replies: 2
    Last Post: 08-28-2015, 06:26 PM
  4. Replies: 1
    Last Post: 06-25-2012, 07:01 PM
  5. Replies: 7
    Last Post: 06-30-2011, 12:20 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