Westaradg said:
How do I instruct my database to tell me if an Invoice has been printed
already, and that if someone has printed it already the next copy will
indicate it's a reprint? And if I really had my way it would tell me
something like reprint-1 or reprint-2.
There's no "this Invoice Report has been printed X times" property.
If you use DoCmd.OpenReport to print it, you could write code to record how
many times that DoCmd.OpenReport has been executed, provided you _print_ the
report from that statement. However, my typical practice is to open the
Report in preview mode, and let the user decide whether to print or close --
so a count such as I describe would be impossible for me. Finally, there's
no way to know whether the actual print was successful -- I have seen a lot
of paper jammed, crumpled, and then thrown away on shared printers in large
offices.
Just offhand, I'd say that only you can decide whether too many assumptions
would be required to "trust" the only counts that you are likely to be able
to generate.
Larry Linson
Microsoft Access MVP