Solved

Copy data from Access Report?

Posted on 2013-12-18
4
800 Views
Last Modified: 2013-12-18
Dear experts -
I would like to have a summary section of a report that shows rows of numbers (e.g., for each person, maybe 15 columns).
Right now, these are simply separate fields, not a subreport or the like.
My goal is to display this information, but also allow the person to copy and paste that tabular data into Excel.
Any guidance on the best way to do this?
Thanks!
0
Comment
Question by:terpsichore
  • 2
  • 2
4 Comments
 
LVL 36

Expert Comment

by:PatHartman
ID: 39727454
I would create a subreport and do all the calculations in the query.  Then you can add a button to export the query to Excel and that would use the TransferSpreadsheet Method.
0
 

Author Comment

by:terpsichore
ID: 39727749
good idea - out of curiosity, is there any way to copy the text to the clip-board easily? people are popping into this report all the time, it would be much faster than having to create a separate spreadsheet every time. In other situations, we have a datasheet form form which we can simply copy text to the clipboard - is there a solution like this? Thanks!
0
 
LVL 36

Accepted Solution

by:
PatHartman earned 500 total points
ID: 39727908
Try opening the report in Report View rather than Print Preview.  That view allows screen scraping and you can copy blocks of data and paste it into Excel.  I think your code doesn't run in this view though so that could be a problem.
0
 

Author Closing Comment

by:terpsichore
ID: 39727966
many thanks - very good ideas that I'm sure will do the trick.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question