Vb Script - Hide Label Objects During Printing When Certain Values Come In. Follow
Hello.. I am working on VB Script that is printing data from XML file. There is a field in XML called warning. I have a Text Object with shared Database field of warning. Another Text Object has Warning Text that I only want to make visible or print if the data coming in from the XML has value of "warning". If it doens't then I want the text to be blank or hide it.
I tried this in the Text VB Script function:
if Format.NamedSubStrings("warning").Value <> "warning" then Format.NamedSubStrings("LydairWarning1").Value = " "
It doesn't work as expected. I am new to VB Scripting would there be a way to do this? I have some programming background but, not a lot with setting up variables or Objects with VB.
I am using Bartender Automation 9.4 SR3 having Commander work with Bartender to automatically print labels to defined printers.
Please sign in to leave a comment.