Vb Script To Hide Or Disable Print For Certain Field
Hi, I have a label with 10 barcodes printed. I was wondering if i can use VB script to let the users control how many barcodes they want to print. For example, if they want print just only 5 barcodes in that label, the label will print out 5 barcodes and the other 5 field/object will be like hidden and unprint.
(Note that the template that used is with 10 barcodes field actually).
Any help would be appreciated. Thanks.
-
Using VB script you can stop an object printing by settings it's data source to be nothing:
If X = Y Then value = "" End If
If you're running v10.1 then you can set the conditions on when or if the object prints by adjusting the "Print when" properties of the object found in the top node of the object's properties.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar