OnPostPrompt question
At the start of OnPostPrompt script is this comment:
'Called after the data entry form is closed either at the beginning of print job or once
'every record, depending on the defined frequency options.
What does running every record mean and how is it done?
Maybe it can't do what I want but I'd like to know what the comment means.
I have 64 slots on data entry to scan serial number. I want to check there are no duplicates. If I do it regularly onpostprompt then I can only cancel printing if there are duplicates but I'd like to check it when new serial is scanned and not enter it if possible. I think I could do it copy-paste to every serial number object but that makes changes to the script really difficult.
-
Peter Thane
★ BarTender Hero ★
OnPostPrompt means the VB routine will be processed after you click Print on the Data Entry Form
OnNewRecord means whenever a new database record is selected then the VB routine will run.
0 -
Kardo Aia
★ BarTender Hero ★
But why is the comment in OnPostPrompt if one part is for OnNewRecord ?
I checked that OnNewRecord just has this: 'Called for each new record read from the current database selected.
0 -
Peter Thane
★ BarTender Hero ★
As you can define when the Data Entry input query is run
0
Please sign in to leave a comment.
Comments
3 comments