I have this code:
DoCmd.OpenReport "RPT PER AFDELING", acViewNormal
The report (RPT PER AFDELING) draws it's data from a table, which is filled right before the report is called.
Here's how it's done:
There's a table with records which have a class 1, 2, 3 and so on. The user selects a class, and the temp table is filled with the records of that class, with an extra sequence number.
The report (with graph) is opened, and draws it's data from that table, but only for sequence numbers between two values.
The problem is that sometimes (not all the times) when asked the print preview via that docmd command, the dummy data from the graph is printed, and NOT the correct data from the temporary table... Any ideas? I'm all out...
Thanks,
Niki
DoCmd.OpenReport "RPT PER AFDELING", acViewNormal
The report (RPT PER AFDELING) draws it's data from a table, which is filled right before the report is called.
Here's how it's done:
There's a table with records which have a class 1, 2, 3 and so on. The user selects a class, and the temp table is filled with the records of that class, with an extra sequence number.
The report (with graph) is opened, and draws it's data from that table, but only for sequence numbers between two values.
The problem is that sometimes (not all the times) when asked the print preview via that docmd command, the dummy data from the graph is printed, and NOT the correct data from the temporary table... Any ideas? I'm all out...
Thanks,
Niki