Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2010
    Location
    Fire Island Pines, NY
    Posts
    513

    copyied report is referencing original

    I've made a copy of a report (which will have a different format, but otherwise be the same). The report has (2) sub reports, and a batch of code behind it. At the moment is unaltered...
    When I go to open the report, it prompts for parameters that reference the original report; and I can't seem to find where it's coming from. I've searched all of the code behind it and the (2) subs -not there; I've searched data sources - not there; I suspect I'm missing the obvious.

    the prompt is simply for: Reports!fixtureschedule.Type (where "fixtureschedule" is the name of the old report; and "fixtureschedule_copy" would, respectively, be the new one; "type" is the name of a legitimate field in the data source table)



    thought?
    (many thanks in advance, Mark)

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    Also check the master/child link properties of the subreport controls, the record sources for criteria, and Sorting & Grouping.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Join Date
    Jul 2010
    Location
    Fire Island Pines, NY
    Posts
    513
    that did it
    the hidden link was hiding behind the data query that linked the subReports to the parent Report

    (which raise a subsequent ? that I'll pose in a separate post...
    if I change the name of the parent report.. the query in the sub reports still looks for the original parent report name; I can change that reference in the sub's, which solves the problem; but how do I link the same subReport to different parents?

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

Similar Threads

  1. Referencing a Report Field with VBA
    By Lorlai in forum Programming
    Replies: 13
    Last Post: 03-26-2013, 09:53 AM
  2. Referencing unbound text box on report
    By EffenNewGuy in forum Reports
    Replies: 8
    Last Post: 06-22-2011, 11:07 AM
  3. Back to original form
    By hawzmolly in forum Forms
    Replies: 4
    Last Post: 09-26-2010, 07:36 AM
  4. Referencing A Form Field In A Report
    By CGM3 in forum Reports
    Replies: 5
    Last Post: 07-01-2010, 08:16 PM
  5. Replies: 3
    Last Post: 06-23-2010, 02:02 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