How To Specify Print Quantity Through Prompt Design At Runtime Follow

0
Avatar
Legacy Poster

I understand the easy way is to just use the Print Dialog window to specify Identical Copies of Labels. But the user is not computer literate.

How do I get the Prompt Design window (not the Print Dialog) to allow user to specify (during run-time) quantity of identical labels to print?

(Quantity of labels to print varies depending on stock arrived at loading bay and it is not stored in the database)

The user would like to use only ONE (1) pop-up screen (ie. Prompt Design Screen) to be able to scan item-code and then, specify quantity of the identical labels to print in a Text Input Box, before clicking the Print button.

I have changed the File > Print > Quantity mini tab > Identical Copies of Labels, value to "Set by DataSource", and in the Options, under VB Scripting, I tried to set value from shared substring, which fetches the quantity from the Prompt Design Window (where user enters quantity).

eg. value = Format.NamedSubStrings("ref_lbl_qty").Value

However, it only prints one label.

I saw the Identical Copies of Labels in VBScripting property but it is a ReadOnly value.

How do I set the print quantity then?

2 comments

0
Avatar
Legacy Poster
Comment actions Permalink

Make your identical copies of labels pull from a data source (You seem to have already figured out how to do that).

Use "Screen Data"

Make the Screen Data prompted by clicking the options button and go to the prompting tab.
0
Avatar
Legacy Poster
Comment actions Permalink

Wow! thanks Ryder, it works now.

I missed the part where Linked Sub-String > Identical Copies To Print.

And no codings required, cool!

Thanks for highlighting that to me.

Please sign in to leave a comment.