Hi All,
I am trying to do some very simple data exports into Excel sheets utilizing a report format I created and a couple of fields. I use the Filter & Sort menu to get the data I want on screen and then simply right click on the report -->export to Excel.
The problem is that when I have any sort of Error in one of the fields, it won't export at all. Some of my fields are calculated (very simple stuff like profit margin), and if I don't have a value entered Access will put a #Error instead of an actual result. It seems that when I'm doing the export if it finds one of those it just stops the export dead in it's tracks.
I have tried doing this with data that is clean and it works perfectly however, I might not always have clean data and it is fine if the field has the #Error in it, I do not care as I can always go back later and correct it.
The other strange thing is if I go to the Query that I'm using to generate the data for the report and do the export from there, then it does it with no problems, #error or not. So why won't it do it from a report as well?
The reason I want to do it from the report view is because I'm grouping 6 reports together, filtering on a high level field (model in this case) and then I want to do the export one shot instead of having to do it 6 times.
Here is a snip of the data, If I filter out the fields with #Error it exports no problems. With the #Error it refuses to work. Any help would be greatly appreciated!
Thanks and have a great new year!
[imgnothumb]http://bytes.com/attachment.php? attachmentid=74 00[/imgnothumb]
I am trying to do some very simple data exports into Excel sheets utilizing a report format I created and a couple of fields. I use the Filter & Sort menu to get the data I want on screen and then simply right click on the report -->export to Excel.
The problem is that when I have any sort of Error in one of the fields, it won't export at all. Some of my fields are calculated (very simple stuff like profit margin), and if I don't have a value entered Access will put a #Error instead of an actual result. It seems that when I'm doing the export if it finds one of those it just stops the export dead in it's tracks.
I have tried doing this with data that is clean and it works perfectly however, I might not always have clean data and it is fine if the field has the #Error in it, I do not care as I can always go back later and correct it.
The other strange thing is if I go to the Query that I'm using to generate the data for the report and do the export from there, then it does it with no problems, #error or not. So why won't it do it from a report as well?
The reason I want to do it from the report view is because I'm grouping 6 reports together, filtering on a high level field (model in this case) and then I want to do the export one shot instead of having to do it 6 times.
Here is a snip of the data, If I filter out the fields with #Error it exports no problems. With the #Error it refuses to work. Any help would be greatly appreciated!
Thanks and have a great new year!
[imgnothumb]http://bytes.com/attachment.php? attachmentid=74 00[/imgnothumb]
Comment