Skip to main content

Search

Search

Quantities On Shelf Tags

Comments

8 comments

  • Avatar
    Legacy Poster

    You could do this with templates within a label document and drive the template choice by the value in the data source.

     

    If the value is 1 use the original template if not use the one with qty.

    0
  • Avatar
    Ian Cummings
    Moderator

    Or you could use an event based VB script for the data source for the OnNewRecord event.  The classic If...Then...Else formulation should do the job.  Therefore, If the quantity field is greater than one then value equals "4 / " & Field("table.price") else value equals Field("table.price").  End If.

    0
  • Avatar
    Legacy Poster

    You could do this with templates within a label document and drive the template choice by the value in the data source.

     

    If the value is 1 use the original template if not use the one with qty.

    i set up the 2 different shelf tags but can't figure out how to get it to choose which one. I decided to use your way first because i haven't written a vb script in years and figured i'd try this route first

    0
  • Avatar
    Legacy Poster

    ok i made two templates, but in the page setup/ template tab there is no template selector option to set up the data source parameters. is it because i just copied the first template. should i start over and make them both from scratch?

    0
  • Avatar
    Legacy Poster

    Which version of BarTender are you on?

     

    I think this functionality wasn't introduced until 10.1

     

    [attachment=1783:8-4-2015 3-41-25 PM.png]

    0
  • Avatar
    Ian Cummings
    Moderator

    Instead of using templates to do this, which does after all give you two different layout designs to play with, you might instead want to use multiple layers with "print when" conditionality applied.  Now I think about it, individual objects themselves have the same kind of "print when" functionality found in the top node of their properties.

     

    Obviously the conditional use of layers and templates have a certain amount of overlap in terms of functionality, but in summary I'd say layers is best for conditionally printing fragment part of an overall label design, whereas templates allow for the conditional printing of radically different label designs.

    0
  • Avatar
    Legacy Poster

    I'm using bartender 10.1 sr4 Automation still don't see anything like you have in the screenshot you posted slickson

    0
  • Avatar
    Legacy Poster

    lol i figured it out. 2 days of frustration over nothing. the software was running professional simulated. i switched over to automated version and all those selector options popped up! funny how something so little changes a lot!

    0

Please sign in to leave a comment.