Connecting Tech Pros Worldwide Help | Site Map

Multiple invoice prints

  #1  
Old July 3rd, 2009, 12:27 PM
Member
 
Join Date: Mar 2008
Location: Falkirk
Posts: 62
Hi all

My problem is as follows. At present we can print multiple invoices by means of a Form with a from date textbox and a to date textbox. After inputting the dates required we click a button called btnSearch. How do i check a check box for each invoice to show that it has been printed. Below is the piece of code for the date range. Any ideas will be appreciated.

Expand|Select|Wrap|Line Numbers
  1. DoCmd.OpenReport "rptConfirmation", ReportDest, , "[tblSales]![DateOfVisit] Between [Forms]![frmInvoicePrint]![From Date] And [Forms]![frmInvoicePrint]![To Date]"
  2. DoCmd.OpenReport "rptParentLetter", ReportDest, , "[tblSales]![DateOfVisit] Between [Forms]![frmInvoicePrint]![From Date] And [Forms]![frmInvoicePrint]![To Date]"
  3. DoCmd.OpenReport "rptInvoice", ReportDest, , "[tblSales]![DateOfVisit] Between [Forms]![frmInvoicePrint]![From Date] And [Forms]![frmInvoicePrint]![To Date]"
  4.  
  #2  
Old July 3rd, 2009, 12:55 PM
mshmyob's Avatar
Expert
 
Join Date: Jan 2008
Location: witness protection
Posts: 610
Provided Answers: 2

re: Multiple invoice prints


Hello Wayneyh

What I have done for my invoice applications is have the user confirm that an invoice has printed properly. If they click on the 'Yes' button I update a field I have in the table ('InvoicePrinted') to indicate that invoice has printed. Having a user OK that an invoice has printed properly is the best way for audit control.

Any subsequent prints of that invoice has the word 'DUPLICATE' as a 'watermark' across that invoice so it can never be mistaken for the original.

I also never allow the invoice to be edited after the Invoice has been checked off as printed.

This procedure has never failed me or the clients and accountants appreciate it as it ensures a proper audit.

cheers,

Quote:
Originally Posted by Wayneyh View Post
Hi all

My problem is as follows. At present we can print multiple invoices by means of a Form with a from date textbox and a to date textbox. After inputting the dates required we click a button called btnSearch. How do i check a check box for each invoice to show that it has been printed. Below is the piece of code for the date range. Any ideas will be appreciated.

Expand|Select|Wrap|Line Numbers
  1. DoCmd.OpenReport "rptConfirmation", ReportDest, , "[tblSales]![DateOfVisit] Between [Forms]![frmInvoicePrint]![From Date] And [Forms]![frmInvoicePrint]![To Date]"
  2. DoCmd.OpenReport "rptParentLetter", ReportDest, , "[tblSales]![DateOfVisit] Between [Forms]![frmInvoicePrint]![From Date] And [Forms]![frmInvoicePrint]![To Date]"
  3. DoCmd.OpenReport "rptInvoice", ReportDest, , "[tblSales]![DateOfVisit] Between [Forms]![frmInvoicePrint]![From Date] And [Forms]![frmInvoicePrint]![To Date]"
  4.  
  #3  
Old July 3rd, 2009, 01:21 PM
Member
 
Join Date: Mar 2008
Location: Falkirk
Posts: 62

re: Multiple invoice prints


Thanks mshmyob

I thought about doing it that way but was just trying to save a bit more time.

The way you suggest is the better way i think.

Regards

Wayne
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reporting services and appending multiple documents Someone11 answers 7 December 10th, 2007 08:37 PM
Create multiple text files based on customerID ezra answers 3 December 5th, 2007 05:07 PM
Printing multiple reports! Sigurd Bruteig answers 2 November 12th, 2005 02:47 PM
How to generate an invoice from data Peter Young answers 7 July 19th, 2005 07:11 AM