|
-
Sep 29th, 2012, 02:26 AM
#1
Thread Starter
Lively Member
[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
thanks you
-
Sep 30th, 2012, 11:55 PM
#2
Thread Starter
Lively Member
Re: how to disable popup "The database is up to date." in vb6 runtime execution..
-
Oct 1st, 2012, 08:22 AM
#3
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.
-
Oct 1st, 2012, 11:19 AM
#4
Re: how to disable popup "The database is up to date." in vb6 runtime execution..
Moved To Reporting Section
-
Oct 1st, 2012, 10:48 PM
#5
Thread Starter
Lively Member
Re: how to disable popup "The database is up to date." in vb6 runtime execution..
thank datamiser for your time..
my problem is now solved..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|