Skip to main content

Search

Search

Help printing variable graphics

Comments

2 comments

  • Avatar
    Peter Thane

    You dont need VB to achieve this as you could just use Conditional Printing of the graphic.

    • Add a text field that contains the dropdown data on the label (or off to the side if the text isnt printed) and then use the Change Data Source Name button to give the field a name (I called mine ChoosePic)
    • On your Data Entry Form, link this list to the Named Data Source.
    • On your Template add each image in the correct location and the correct size on the label but for each one click on the name of the image in the left hand column of the object (the bold Picture 1 in the screenshot below) and then clcik on the Print When button and set up the appropriate Conditional Printing, which in my case is when ChoosePic equals green (my drop down has two values red or green)

     

    I have included a Preview of Template on my Data Entry Form and so the image below is a screenshot of what I see when I go to print.

    I hope this helps

    Pete

    NOTE: for my sample I put the images next to each other on the Template and not on top of one another.

    0
  • Avatar
    Paweł Gancarz

    Thank you for your help. Everything works now.

    0

Please sign in to leave a comment.