Hi,
I know this problem has been posted here before and i have tried to do what's been written, but without success.
I'm using crystal reports v6 and Ms Access.
The problem as been discussed before is that the preview windows doesn't refresh with accurate data (well, sometimes is does). If i put a msgbox before the crystaRep.printReport statement it always work. So the problem is with refreshing from the database.
The reports are derived from a table in Access that gets populated each time i click the preview button. It seems that most of the time crystal report open an empty table even if i have added data to it before i print the report.
I have tried to set crystalReport.DiscardSavedData = true
and
i made sure crystalreports doesn't save any data.
Are there any other parameter that i can use to be able to refresh my reports. Or how can i get around the problem? It might even be the database that have to be refreshed.. i dont know.
Regards
Erik
I know this problem has been posted here before and i have tried to do what's been written, but without success.
I'm using crystal reports v6 and Ms Access.
The problem as been discussed before is that the preview windows doesn't refresh with accurate data (well, sometimes is does). If i put a msgbox before the crystaRep.printReport statement it always work. So the problem is with refreshing from the database.
The reports are derived from a table in Access that gets populated each time i click the preview button. It seems that most of the time crystal report open an empty table even if i have added data to it before i print the report.
I have tried to set crystalReport.DiscardSavedData = true
and
i made sure crystalreports doesn't save any data.
Are there any other parameter that i can use to be able to refresh my reports. Or how can i get around the problem? It might even be the database that have to be refreshed.. i dont know.
Regards
Erik