VB Script works in version 10.1 but not in version 2016 Follow
I have a very simple script pulling a Boolean value from a database as follows:
IF Field("Tbl_LabelTemp.Statement") = True THEN
Value = "Print this statement"
This label was originally created in Enterprise Automation version 10.1, but we've now converted to Enterprise Automation 2016 and this one field in this label results in an empty value in the field. All other database values are populating. The script works perfectly in version 10.1.
Furthermore, in version 2016, if I change the script to be this:
Value = Field("Tbl_LabelTemp.Statement")
The field populates on the label as "True", so I know the script is seeing the correct value, it simply is not printing the string I'm asking it to print when it sees the "True" value in the database. The data type setting of the label field is text.
Very puzzling. What am I missing?
Please sign in to leave a comment.