Bt V9.2 // Barcode Print Visibility Based On Database Value Follow
We are using v9.2 and have a label that has a barcode on it that we'd like to show/hide based on different field's database value, but am struggling to find the correct syntax.
In the OnProcessData script of the barcode object, I have the following VB script:
If (Field("receiving.warehouse") = "100" then
format.objects("batchbarcode").visibility = false
format.objects("batchbarcode").visibility = true
I've tried both .visibility and .printvisibility, but I get the error #6900 (object doesn't support this property or method).
Please sign in to leave a comment.