Results 1 to 5 of 5

Thread: [RESOLVED] how to disable popup "The database is up to date." in vb6 runtime execution..

  1. #1
    Lively Member nilesh16782's Avatar
    Join Date
    Feb 07
    Location
    India
    Posts
    104

    Resolved [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

  2. #2
    Lively Member nilesh16782's Avatar
    Join Date
    Feb 07
    Location
    India
    Posts
    104

    Re: how to disable popup "The database is up to date." in vb6 runtime execution..

    no one ??

  3. #3
    PowerPoster
    Join Date
    Feb 12
    Location
    West Virginia
    Posts
    4,957

    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.

  4. #4
    Super Moderator Hack's Avatar
    Join Date
    Aug 01
    Location
    Searching for mendhak
    Posts
    58,283

    Re: how to disable popup "The database is up to date." in vb6 runtime execution..

    Moved To Reporting Section
    Please use [Code]your code goes in here[/Code] tags when posting code.
    When you have received an answer to your question, please mark it as resolved using the Thread Tools menu.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    I dont answer coding questions via PM or EMail. Please post a thread in the appropriate forum section.

    Creating A Wizard In VB.NET
    Paging A Recordset
    What is wrong with using On Error Resume Next
    Good Article: Language Enhancements In Visual Basic 2010
    Upgrading VB6 Code To VB.NET
    Microsoft MVP 2005/2006/2007/2008/2009/2010/2011/2012/Defrocked

  5. #5
    Lively Member nilesh16782's Avatar
    Join Date
    Feb 07
    Location
    India
    Posts
    104

    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
  •