Access 2007 and 2013 with Excel 2013
A weird behavior in exporting report
I have a report with a group by a certain criteria (only one level group)
Looks nice and neat but...:banghead:
When i export the group to excel using
DoCmd.OutputTo acOutputReport, reportname, acFormatXLS, theFilePath & theFileName, False, , , acExportQualityPrint
the output is messed up.
Group contents are ok, but group names are messed
First group name is OK
Second is OK
Starting with the third group, all group names are wrong. It is actually the second group name propagated up to the end.
Instead of
Groupname A
1
2
3
Groupname B
4
5
6
Groupname C
7
8
9
Groupname D
...
I have
Groupname A
1
2
3
Groupname B
4
5
6
Groupname B (again)
7
8
9
Groupname B (again)
...
A weird behavior in exporting report
I have a report with a group by a certain criteria (only one level group)
Looks nice and neat but...:banghead:
When i export the group to excel using
DoCmd.OutputTo acOutputReport, reportname, acFormatXLS, theFilePath & theFileName, False, , , acExportQualityPrint
the output is messed up.
Group contents are ok, but group names are messed
First group name is OK
Second is OK
Starting with the third group, all group names are wrong. It is actually the second group name propagated up to the end.
Instead of
Groupname A
1
2
3
Groupname B
4
5
6
Groupname C
7
8
9
Groupname D
...
I have
Groupname A
1
2
3
Groupname B
4
5
6
Groupname B (again)
7
8
9
Groupname B (again)
...