Results 1 to 8 of 8

Thread: [resolved] Requery

Threaded View

  1. #1

    Thread Starter
    Addicted Member SaharaWizard's Avatar
    Join Date
    Nov 2004
    Location
    Canada
    Posts
    254

    Resolved [resolved] Requery

    Hello ppl
    I want the user to always print record with changes that he just made, but I am running into problems.
    I have a simple form that reads from and Access fie (ADO, VB 6).
    I have a print button that connects to a data environment and prints the contect of prestent recordset (by filtering adodc1).
    Problem is:
    Sometimes user make some changes on the screen and wants to print right away. My print will not be updated.
    I tried adding :
    EDDU.rsTBLNames.Requery

    but I am getting error message saying:
    run time error 3704
    Operation is not allowed when the object is closed.
    and the degugger highlights the code line mentioned above.
    Any suggestions as how to solve this problem?
    Last edited by SaharaWizard; Feb 9th, 2005 at 01:54 PM.
    Don't let your schooling get in the way of your education.

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