Hi
I'm having troubles with the Format event. More specifically, one of the parameters: FormatCount.
In the Access help, it says that FormatCount will supposedly return the number of times the section has been formatted.
However, a section can be formatted 2 times, and the value of FormatCount is 1 the two times the event is triggered!
My report outputs its data to an Excel worksheet. On each Format event, the application writes a row on the Excel worksheet.
Since the Format event is sometimes called 2 times, the data is thus sometimes duplicated.
I have tried to use the Print event instead, but that only works if the report is on 1 page.
Any hints appreciated. Thanks.
I'm having troubles with the Format event. More specifically, one of the parameters: FormatCount.
In the Access help, it says that FormatCount will supposedly return the number of times the section has been formatted.
However, a section can be formatted 2 times, and the value of FormatCount is 1 the two times the event is triggered!
My report outputs its data to an Excel worksheet. On each Format event, the application writes a row on the Excel worksheet.
Since the Format event is sometimes called 2 times, the data is thus sometimes duplicated.
I have tried to use the Print event instead, but that only works if the report is on 1 page.
Any hints appreciated. Thanks.