Crystal Report Not Refreshing
Posted on 2001-07-20
I have a VB application with Crystal Reports incorporated through ActiveX components. When I run the CRViewer the Report which connects through ODBC with AS400 back-end is not refresh to the latest changes in the backend. I must enable Crystal Report's refresh button so users can refresh the data. I have already disable 'Save Data with Report' in Crystal Report Designer prior to importing the report into VB. When I click on refresh button the report is refresh with the latest data. Should I include VB code in the CRViewer so the report gets refresh automatically once is loaded ?
How do I do this ? Please provice sample code.