Hi.. i am working on a proyect in visial basic and i am trying to refresh the data in visual basic .. i know that it is posible to do if you open crystal reports (i am using 8.5) but when the user is working on the programa he can not open the crystal report so thats why i need if to be refresh in visual basic.... the thing is that i am using accees as database and in the program when i add some information to the database and then i want to see the report .. well there is no information so i have to stop the programa open crystal report an press refresh data.. and then i can see all the information i added... so can you help
Thanks!
Do you use crystal report in your application using the OCX or the RDC components or do you run it seperately from your application in Crystal Reports 8.5 itself?
You need to look up the crystal API call "CIUpdateReportEx" in your help files, but be warned, it don't work!
By this I mean every 1 out of 10 times etc it decides to work okay & the rest of the time the call's successful, but the refresh doesn't actually work, I tried writing an app which went through all reports & refreshed each, even asked seagate themselves for some sample code on refreshing a report but neither worked!!!
Please rate this post if it was useful for you!
Please try to search before creating a new post,
Please format code using [ code ][ /code ], and
Post sample code, error details & problem details
This is the sample from seagate themselves I was provided with if you want to take a look at the coding anyways.
Note this is for version 7 / 7.5 but should be the same for version 8...
Please rate this post if it was useful for you!
Please try to search before creating a new post,
Please format code using [ code ][ /code ], and
Post sample code, error details & problem details