Aller au contenu principal

Recherche

Recherche

Conditional Printing of Template

Commentaires

3 commentaires

  • Avatar
    Peter Thane

    In the images below I have created a label that uses VB to take away the value of one field from another and if the value is 1 prints both templates or if not only prints one.

    I have made the VB routine an Event Controlled OnIdenticalCopies routine and have also named this string VBResult to make it easier to reference. 

    The conditional printing I used you can see here:

     

    Preview with out conditional printing

    Previews with conditional printing

     

     

     

    0
  • Avatar
    Keith Crosby

    Thank you Pete. I'm still struggling to get this to work correctly. Below are some images of my current configuration. The topmost text object on the label is my "AssemblyType" data source to show the vbscript is doing its job. My document is configured slightly different, but I don't see how that would affect the end result. Again, thank you for your response.

     

    0
  • Avatar
    Peter Thane

    Not sure I have set something up similar with an End of Group template and used a based on data source condition as yours and it works correctly. I wonder if it is something to do with the data in your SerialBatchNo field that it does not like or else you could try change the condition to be based on expression (either equals or contains perhaps) and see what that does 

    0

Vous devez vous connecter pour laisser un commentaire.