Multiple Templates In A Document
I'm trying to set up on document for labels used in my shipping department so that the template is selected based upon the customer number. Each customer number will have it's own template or use the standard if a template is not found. The later part works fine using the template selection function inside the document but I can't rename the templates to a number.
When I try to rename the template to 2454 which is a customer number BarTender automatically sticks the word "template" in front of it. Is there anyway to prevent this from happening?
-
Template names have to be alphanumeric. If there's a number in the field name the software will automatically append 'Template' to it. There's not a way to disable that.
0 -
how many templates can I have in a document? how does it work when the different templates need to prompt for different data values?
0 -
I don't really know if there is a limit in the amount of templates you can create for one BarTender document. I would suppose this would more be a performance and memory situation to have in mind (e.g. I wouldn't recommend creating more than 20 templates for the same BT document as it would affect performance). How many templates are you planning to create and what type of content will it contain? If there will be a lot of graphic information (e.g. Word processor objects, graphics), then be aware that the performance might be specially affected.
With regards to the template selector question, if the end result you're wishing to achieve is that only one template will be printed, then use only one template selector, and make its print condition based on a certain named data source. This named data source can then use some coding behing to decide which template to be selected depending on more than one different sources (such as based on two database fields, based on two other named data sources). You can achieve this by writing some VBScripting.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
3 Kommentare