Robbydobbs Posted April 14, 2003 Posted April 14, 2003 I want to insert an id_number in a document only after it is printed and have that number increment by 1 for the next time the document is printed. How would I do this?
LiveOak Posted April 15, 2003 Posted April 15, 2003 It depends upon what you mean by "after it is printed". If you really need to verify that readable, printed copy came out of the printer, you probably can't, unless you have a human check and acknowledge a dialog box ("Did the job print correctly?"). It is easy enough to add a step in a print script: Print() Set Field[PrintCntr, PrintCntr+1] or ask the user to check. Print() Show Message["Did the job print correctly?"] If [status(CurrentMessageChoice) = 1)] Set Field[PrintCntr, PrintCntr+1] End If -bd
danjacoby Posted April 15, 2003 Posted April 15, 2003 If you're printing multiple records in the same print job, then put a loop around the SetField command and add a GoToRecord[Next, Exit after last] command in the loop as well.
Robbydobbs Posted April 15, 2003 Author Posted April 15, 2003 Thank you guys. I appreciate your help as always and this was exactly what I was looking for. Thanks again.
Recommended Posts
This topic is 7963 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now