Results 1 to 4 of 4
  1. #1
    3 Star Lounger
    Join Date
    Jul 2001
    Posts
    283
    Thanks
    0
    Thanked 0 Times in 0 Posts

    report prints a wrong record (Access 2003)

    I have a macro to preview an invoice for printing. However, when I click on the print button, Access sometimes prints the wrong record, not the one being displayed/previewed on screen. I am wondering where is the problem.

    Thanks

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: report prints a wrong record (Access 2003)

    Can you provide details about the macro, or post a stripped down copy of your database? See <post#=401925>post 401925</post#> for instructions.

  3. #3
    3 Star Lounger
    Join Date
    Jul 2001
    Posts
    283
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: report prints a wrong record (Access 2003)

    The macro will enable the user to preview the invoice using the following condition

    [Forms]![frmInvoice]![txtInvNum]=[qryPrintInvoice]![InvoiceID]

    The problem is that this macro sometimes, not always, print the wrong record, not the one being previewed on screen.

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: report prints a wrong record (Access 2003)

    Sorry, that is not sufficient to know what's happening. I think we need to see (a copy of) the database.

Posting Permissions

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