CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 1999
    Posts
    70

    Reinitializing a Data Report

    I have been working with VB 6.0 and trying to get a Data Report to change as I select a new record and reselect the show command button. The data report stays stuck on the original record. How do I get the report to recognize the new record and show it? It appears to need some sort of command to unload the previous report form and load the new form.
    Also, is Crystal Reports better than Data Reports and if so, which version, who sells them, etc.?
    Any help would be appreciated.
    Thanks,
    Al


  2. #2
    Join Date
    Jul 1999
    Location
    Athens, Hellas
    Posts
    769

    Re: Reinitializing a Data Report


    If deDataEnvironment.rsReturningRecordset.State = adStateOpen then
    deDataEnvironment.rsReturningRecordset.Requery
    End If




    Michael Vlastos
    Automation Engineer
    Company SouthGate Hellas SA
    Development Department
    Athens, Greece

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured