Page 1 of 3 123 LastLast
Results 1 to 15 of 34
  1. #1
    Rick_S is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Jan 2016
    Posts
    15

    Adding new reports to an existing report


    I have a report consisting of many reports, each with multiple columns of information from tables. I needed to add 5 new reports, so I copied and pasted an existing report but cannot get the control source to change. The field box does not contain information to drag to the source control area. Have tried renaming the source controls, but that didn't work. How can I get these copied and pasted reports to reflect the correct control source?

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Do the new reports have the correct RecordSource?

  3. #3
    Rick_S is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Jan 2016
    Posts
    15
    No, I believe I am confusing control source with recordsource. If recordsource is the root of the data, then no, it is not showing up in may list box.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Every Report has a Record Source and it can be found on the Data Tab of the Property sheet for the Report. Controls are *on* Forms and Reports and have Control Sources.

  5. #5
    Rick_S is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Jan 2016
    Posts
    15
    The copied report data tab of the property sheet has the record source same as the one that was copied. Can't update this to be for the new report.

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Quote Originally Posted by Rick_S View Post
    I have a report consisting of many reports, each with multiple columns of information from tables. I needed to add 5 new reports, so I copied and pasted an existing report but cannot get the control source to change. The field box does not contain information to drag to the source control area. Have tried renaming the source controls, but that didn't work. How can I get these copied and pasted reports to reflect the correct control source?
    I guess I'll have to ask how you copied and pasted the additional reports? Do you have your "reports" all in one report? I'm sorry but I'm a bit confused (not all that uncommon these days.)

  7. #7
    Rick_S is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Jan 2016
    Posts
    15
    In the navigation pane, I have a list of 35 individual reports (they represent a different monitoring location). I took one report, representative of the new monitoring locations, copied and pasted it 5 times for the new monitoring locations ( 1 for each new location). I want to use the same report layout for all locations. Now am trying to associate these new reports to their own record source. (each report covers 13 individual test results in columns; however they are all for the same monitoring location.) The information used to compile the reports comes from two different tables. The new well information has been added to the tables, but doesn't show up on the field list. Hope this clears up some things.

  8. #8
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    So are you saying that when you open each of these "new" reports in design view it will not let you change the Record Source?

  9. #9
    Rick_S is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Jan 2016
    Posts
    15
    Yes, it will not let me change the Record Source. I have tried to change the Record Source by over typing the information in the Record Source, but received an error and could not
    get a report print to show. It keeps telling me that This control has an invalid control source.

  10. #10
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Okay, time to eliminate potential corruption. Create a new blank db and then *IMPORT* everything from your previous db into the new db. It only takes a minute or so. See if the problem follows the import.

  11. #11
    Rick_S is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Jan 2016
    Posts
    15
    The problem followed the import

  12. #12
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Have you done a Compact and Repair yet? Do so if not.

  13. #13
    Rick_S is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Jan 2016
    Posts
    15
    I took a different approach this morning. I made the new tables using report wizard, one table at a time. Then opened a new report, pulled the information to the bottom of the page in design view, copied an old report and pasted it into the new report design view, pressed f4 to bring in the property box and went to data tab. From there I highlighted a record source cell, went to the data tab, used the down arrow to find the new record source, double clicked the new record source and the cell changed in the report.
    Repeated for each cell that needed changed. Erased the cells created with the new table that was pulled down previously and the report was just what I was looking for. I originally thought that a report could be just copied and (though the new information was in both tables and queries) I could just change information in the record source and query relationship and the record source would automatically change. The problem was the property box never showed the new records (probably because they were never created until the new reports were generated by report wizard). If you know a way to bypass making a new report from wizard, I would appreciate knowing. I do appreciate your help! Thank you for all the help you have shown!

  14. #14
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Why would you not just select your report from the Nav Pane and right click and Copy; then right click again and Paste?

  15. #15
    Rick_S is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Jan 2016
    Posts
    15
    That is how I started and could not find any way to reference to the newly added data in-order-to change the record source in the data tab. The information I needed just wasn't there.

Page 1 of 3 123 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Adding loop to existing code
    By smithdam in forum Modules
    Replies: 21
    Last Post: 03-30-2015, 06:54 AM
  2. Adding Existing Data to Records
    By LukeJ Innov in forum Forms
    Replies: 3
    Last Post: 04-29-2013, 09:44 AM
  3. Replies: 3
    Last Post: 07-28-2011, 11:24 AM
  4. Adding columns to existing tables.
    By OrangePie in forum Access
    Replies: 1
    Last Post: 07-07-2011, 01:49 PM
  5. Adding records to existing table
    By Mclaren in forum Programming
    Replies: 5
    Last Post: 05-18-2011, 12:44 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