D
Dennis
Hi,
I want to assign a print date to things that are only supposed to be printed
once such as invoices, statements, etc.
I have a invoice table. On the invoice table, I have PrintDate, which is
the date the individual invoice was printed. The query select all invoices
with no print date and prints them.
I will be changing the PrintDate to the BatchNo field. I'll have a
ReportBatch table (keyed by BatchNo) where I will record the date, time,
report name, and other information about the different reports that are
printed. And my query will be change to select all invoices with no BatchNo.
I realize that I have to run an update question to flag all of the rows that
were printed on the particular report.
When the user prints the report, I would like to have a pop up form appear
and ask if the report printed ok. If the users answers yes, I will run the
update query. If the user answer no, I'll ask if the want to run the report
again.
Here are my questions:
1. Is there a way to tell between PrintPreview and Print? I would like
the pop up window to only appear when the report is actually printed and not
in print preview.
2. How do I generate update the BatchReport table so I can get a batch
number?
3. In what report event should I put the pop up window, the update of the
BatchReport table, and the running of update query.
4. How do I reopen my report query so the update query will know which
items to update? I'm concerned about timing issues. For example, how do I
prevent invoices from being flag that were entered after the invoice query
ran and when the update query ran? I realize that it will only be a matter
of minutes, but I've see it happen before.
Thank you in advance. Any advice would be helpful.
Dennis
I want to assign a print date to things that are only supposed to be printed
once such as invoices, statements, etc.
I have a invoice table. On the invoice table, I have PrintDate, which is
the date the individual invoice was printed. The query select all invoices
with no print date and prints them.
I will be changing the PrintDate to the BatchNo field. I'll have a
ReportBatch table (keyed by BatchNo) where I will record the date, time,
report name, and other information about the different reports that are
printed. And my query will be change to select all invoices with no BatchNo.
I realize that I have to run an update question to flag all of the rows that
were printed on the particular report.
When the user prints the report, I would like to have a pop up form appear
and ask if the report printed ok. If the users answers yes, I will run the
update query. If the user answer no, I'll ask if the want to run the report
again.
Here are my questions:
1. Is there a way to tell between PrintPreview and Print? I would like
the pop up window to only appear when the report is actually printed and not
in print preview.
2. How do I generate update the BatchReport table so I can get a batch
number?
3. In what report event should I put the pop up window, the update of the
BatchReport table, and the running of update query.
4. How do I reopen my report query so the update query will know which
items to update? I'm concerned about timing issues. For example, how do I
prevent invoices from being flag that were entered after the invoice query
ran and when the update query ran? I realize that it will only be a matter
of minutes, but I've see it happen before.
Thank you in advance. Any advice would be helpful.
Dennis