N
Niall
I have a small problem - have an MS Access (2003) front end into a SQL Server
backend, and when we run reports for all clients, we are finding that
intermittently client A's details are displayed on client B's report.
Basically, we are retrieiving a list of clients from our sql server backend,
and for each row in the recordset, opening a report, writing to PDF and
saving the file, closing the report, and rs.MoveNext until rs.EOF
In the actual report, we have a variable g_clientNo, which displays the
current client number taken from the recordset. What we are finding is that
g_clientNo will display Client B, but will display the subreport for client
B.
My suspicions are that this behaviour is similar to that displayed in
http://support.microsoft.com/default.aspx/kb/883867/en-us (BUG: A control on
a form or on a report that refers to a control on a subform or on a subreport
is blank in Access 2003). I have currently raised a support call with MS
Australia, to no avail.
The process has been running for a few years here, however this has been the
first time this behaviour has been observed. The only thing that has
changed, is that we are now on faster computers.
In the event that this occurs, the company would prefer a blank report to
display, rather than one with another client's details - for obvious reasons!
Is it possible to do something like flush the report?
Further info - it doesn't happen to every report in the sequence, but when
it does, it is always the prior client's info that is in the other client's
report.
We have a number of different reports - it is not restricted to any one of
them, therefore we can (hopefully) exclude the code as being at fault
(especially as its been running for a number of years without problems).
Currently we're getting around 9 reports out of about 2500 that have
displayed this problem. (see what I mean about intermittent!!!)
Hopefully you gurus can give me some ideas please.
Cheers,
Niall
backend, and when we run reports for all clients, we are finding that
intermittently client A's details are displayed on client B's report.
Basically, we are retrieiving a list of clients from our sql server backend,
and for each row in the recordset, opening a report, writing to PDF and
saving the file, closing the report, and rs.MoveNext until rs.EOF
In the actual report, we have a variable g_clientNo, which displays the
current client number taken from the recordset. What we are finding is that
g_clientNo will display Client B, but will display the subreport for client
B.
My suspicions are that this behaviour is similar to that displayed in
http://support.microsoft.com/default.aspx/kb/883867/en-us (BUG: A control on
a form or on a report that refers to a control on a subform or on a subreport
is blank in Access 2003). I have currently raised a support call with MS
Australia, to no avail.
The process has been running for a few years here, however this has been the
first time this behaviour has been observed. The only thing that has
changed, is that we are now on faster computers.
In the event that this occurs, the company would prefer a blank report to
display, rather than one with another client's details - for obvious reasons!
Is it possible to do something like flush the report?
Further info - it doesn't happen to every report in the sequence, but when
it does, it is always the prior client's info that is in the other client's
report.
We have a number of different reports - it is not restricted to any one of
them, therefore we can (hopefully) exclude the code as being at fault
(especially as its been running for a number of years without problems).
Currently we're getting around 9 reports out of about 2500 that have
displayed this problem. (see what I mean about intermittent!!!)
Hopefully you gurus can give me some ideas please.
Cheers,
Niall