Conditional Printing Of Gs1-128 Having Multiple Ai Codes 追蹤
1 意見

Legacy Poster
Following to the above problem, I have managed to write script under Label Format options->VB Scripting -> OnNewRecord as:
If GTIN_CODE > 0 Then
Format.Objects("Bar Code 1").PrintVisibility = True
Else
Format.Objects("Bar Code 1").PrintVisibility = False
End If
If GTIN_CODE1 > 0 Then
Format.Objects("Bar Code 2").PrintVisibility = True
Else
Format.Objects("Bar Code 2").PrintVisibility = False
End If
If GTIN_CODE2 > 0 Then
Format.Objects("Bar Code 3").PrintVisibility = True
Else
Format.Objects("Bar Code 3").PrintVisibility = False
End If
If GTIN_CODE3 > 0 Then
Format.Objects("Bar Code 4").PrintVisibility = True
Else
Format.Objects("Bar Code 4").PrintVisibility = False
End If
I have tried the following option as well:
Dim Notice
Set Notice = Format.Objects("Bar Code 1")
If GTIN_CODE< 0 Then
Notice.TextColor = btColor.White
Format.Objects("Bar Code 1").PrintVisibility = False
GTIN_CODE = null
GTIN_CODE1/2/3 is numeric here.
GTIN_CODE1/2/3 are the column names returned by the procedure mentioned in a text and bidden with a data source.
But its still not working,
please assist me regarding this conditional printing.
請登入寫評論。