Prevent Prompt Based On Record Data フォローする

0
Avatar
Legacy Poster

I'm new.

 

I have looked through the forums and I haven't stumbled across this yet.

 

For simplicity, let's say I have two (2) labels which are identical in every aspect except one:  Label A is for a product with an Expiration Date, Label B is for a product without an Expiration Date.

 

I have been able to adjust what prints on the label. An hourglass image and the expiration date, as input by the user, shows on Label A; these elements do not show on Label B. This is adjusted based on information in my database fields.

 

As the general aspects of these labels are the same, I would like to consolidate the labels into a single label.

 

My situation:  Currently, I prompt the user to input the expiration date of the product at the time of label printing.

 

My question:  Is there a way to prevent the prompt (Data Entry Form) from appearing based on whether it is required?

 

I am willing to include vbScript in the solution.

(Note: Suppression is not working to prevent the prompt from appearing)

 

Thank you in advance for your kind help,

-gs

2 コメント

0
Avatar
Domingo Rodriguez
モデレータ
コメントアクション Permalink

Although BT v10.0 introduced the concept of creating multiple templates per BT document, if a single template makes use of the data entry form, the data entry form will be shown at print time (no matter if this particular template will later be printed or not).

 

I believe there is no way to disable the data entry form from being shown depending on a certain database field or named data source value unless you control BarTender programmatically. If you would create a third-party application (by using our .NET SDK or ActiveX Automation), you will be able to control if a certain data entry form (not BarTender's but the one from your application) will be shown or not. 

 

Please check the following White Papers as well:

 

BarTender's .NET SDK:

http://www.bartenderbarcodesoftware.com/label-software/whitepapers/Controlling-Barcode-Label-Software-using-C-Sharp-and-VB.NET(English).pdf

 

BarTender's ActiveX Automation Interface:

http://www.bartenderbarcodesoftware.com/label-software/whitepapers/Controlling-Barcode-Label-Software-using-ActiveX-Automation.pdf

0
Avatar
Legacy Poster
コメントアクション Permalink

This answers the question, thank you!

サインインしてコメントを残してください。