Does anyone know of any memory leaks in the XP reporting
– I’ve added a bit of code to the report Detail_Format event to give me grey and white alternate shading, which worked fine in my A97 databases.
I’ve now moved to XP and VSS. I tried a couple of the converted databases and each time I run the report the amount of memory used just goes up and up, e.g just run one report a few time, and it basically locked the machine up.
Task Manager was showing about 400 Mb, with another 900 Mb in virtual memory
And this is on an XP Pro machine with 512 Mb memory and 768 virtual memory
Sub Detail_Format(Cancel As Integer, FormatCount As Integer) Me.Section(0).BackColor = IIf(gfGray, cColorWhite, cColorGray) ' Next time, do it the opposite of the way you did it this time. gfGray = Not gfGray End Sub