[RESOLVED] how to disable popup "The database is up to date." in vb6 runtime execution..
hi
i using vb6 and crystal report 11.
i have created multiple rpt file with the same view table( of access mdb database).
i using following method to show report at runtime
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
Set CrRpt = CrApp.OpenReport("ReportFileName.rpt")
cryReportViewer.ReportSource = CrRpt
cryReportViewer.Database.Verify
cryReportViewer.ViewReport
\\\\\\\\\\\\\\\\\
there is no problem in showing report at runtime.. only a popup window ("The Database is now up to date") is coming when codeline "cryReportViewer.Database.Verify" execute..
this msgbox window is same as the popup window when we manually verify the database in crystal report application ..
NOTE:
>i try this same method by using crystal report 9 and see that this popup in not come.
> i updated all reference/component with new version of crystal report 11 in application but the problem still occur
Re: how to disable popup "The database is up to date." in vb6 runtime execution..
It's not really a VB question. Crystal reports is where your issue is and that is not part of Vb so many Vb programmers do not use it. I used it years ago and hated it so I changed to something else. Why are you calling a routine to verify the database before you show the report? You are not checking a return value (if there is a return value) so the only way that line could do you any good is if it displays something on your screen. If you don't want this effect I would think you should get rid of that line of code else check your Crystal Reports documentation for info on that feature or post your question in a Crystal Reports area.