Click here to Skip to main content
15,893,644 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi
I'm calling crystalreportsdll.exe to open my reports in powerbuilder 12.6 .NET project. The reports open well but with saved data and i have to click refresh button to refresh the report. Is it possible to refresh the report automatically on open.

Thanks in advance

Regards

Jacob Nyaga

What I have tried:

The reports open well but with saved data and i have to click refresh button to refresh the report.
Posted
Comments
CHill60 15-Mar-17 8:59am    
Can't you refresh from the powerbuilder app? Or are you running the exe directly instead of using an OLEObject? In which case could you use sendmessage/sendkeys equivalent.
Sunasara Imdadhusen 15-Mar-17 9:06am    
Can you please share code for refreshing the report?
Member 13060152 16-Mar-17 2:50am    
Im running exe space report file direct as below

run(crystalreportsdll.exe report.rpt)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900