Table Structure (called "Invoice Details"):
ID
Invoice No
Date
Other Details
I have a report (named "Invoices").
When i run the report, it desplays all invoices of the table.
What i want to do is to create some sort of code that will print Invoice No 1, close the report, then Invoice No 2, close the report, then Invoice No 3 and so on.
I need the above code for the following reasons:
1) No need to go and mannualy print each invoice (through specific invoice selection, it will be very time consuming later on when the number of invoices will increase)
2) The page numbering will be reset each time.
3) I am printing in a double side capable printer. If print all invoices through one report, (even if the page numbering is reset for each invoice) then on one paper it may print a page from one invoice on the front and on the back the next invoice (i have tried some sort of code with page breaks but it does not work because some invoices have even number of pages, some other odd).
Also, like the same way to print the invoices, can i create a .doc or .rtf file (for word) of the invoices (named after invoice number).
i know the code should like this
For x = xxx To yyy Step 1
CODE TO PRINT REPORT (PRINTER OR FILE)
Next x
Thanks
ID
Invoice No
Date
Other Details
I have a report (named "Invoices").
When i run the report, it desplays all invoices of the table.
What i want to do is to create some sort of code that will print Invoice No 1, close the report, then Invoice No 2, close the report, then Invoice No 3 and so on.
I need the above code for the following reasons:
1) No need to go and mannualy print each invoice (through specific invoice selection, it will be very time consuming later on when the number of invoices will increase)
2) The page numbering will be reset each time.
3) I am printing in a double side capable printer. If print all invoices through one report, (even if the page numbering is reset for each invoice) then on one paper it may print a page from one invoice on the front and on the back the next invoice (i have tried some sort of code with page breaks but it does not work because some invoices have even number of pages, some other odd).
Also, like the same way to print the invoices, can i create a .doc or .rtf file (for word) of the invoices (named after invoice number).
i know the code should like this
For x = xxx To yyy Step 1
CODE TO PRINT REPORT (PRINTER OR FILE)
Next x
Thanks