|
-
Jun 21st, 2018, 04:34 AM
#1
Thread Starter
Addicted Member
Get the data from a report in Access 2000?
I have large reports and a colleague told me, to export each of them as rtf file and then copy its contents to xls.
However, it has lot of editing which takes time.
I was wondering if there is some way to export just the data to xls or maybe in an Access 2000 table?
-
Jun 21st, 2018, 06:39 AM
#2
Re: Get the data from a report in Access 2000?
without knowing what you are doing, i assume that the reports are based on some query of a table(s), so it should be possible to use the same query to export the data by various methods
one of which is to automate excel then use the copyfromrecordset method of an excel range
another option would be the creation of an excel table from a query as in your other thread
if my assumption is incorrect, how are the reports created?
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Jun 21st, 2018, 06:47 AM
#3
Thread Starter
Addicted Member
Re: Get the data from a report in Access 2000?
I am not Access 2000 expert, but from what I see, the reports are created with many OpenQuery macros and many of the fields in the reports generate its values by using inline scripts(Is it expression editor?).
Suffice to say, make table query append query, append query,..., append query, open report
or something like that.
Last edited by kutlesh; Jun 21st, 2018 at 06:51 AM.
-
Jun 21st, 2018, 07:05 AM
#4
Re: Get the data from a report in Access 2000?
i would believe that you should be able to return the creation query from the report, only don't ask me how............
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Jun 21st, 2018, 07:15 AM
#5
Thread Starter
Addicted Member
Re: Get the data from a report in Access 2000?
I see that is already ugly, business logic inside the report and lots and lots of macros/queries.
No I am not asking you to do my job
-
Jun 21st, 2018, 04:43 PM
#6
Re: Get the data from a report in Access 2000?
No I am not asking you to do my job
not because of that, cause i do not know at all, but i figure it should be a property of the report or something like that
try a google like access report source query
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|