Print-Dont Print Based On Database Value Follow
I am new to VB scripting and just could not make the script work. Your help would be greatly appreciated.
I want to print or not print a Text Object based on a value on a specific field of the source file.
If (Field("SOURCEFILE.Field 1").value = "PN123" Then
Format.Objects("TEXTOBJECT").PrintVisibility = True
Format.Objects("TEXTOBJECT").PrintVisibility = False
I have it on 'onProcessData' of the actual Text Object but I'm think it should be on the format level?
SOURCEFILE is a comma separated text file.
I'm using 9.4 Pro and format file will be distributed to Automation version.
Michael Toupin (mtoupin
Please sign in to leave a comment.