Print Or Suppress Image Conditionally Part 2 追蹤
In the topic Print Or Suppress Image Conditionally is explained how to, however it is not working for me.
I have 3 pictures, the object names are:
Now I want to create in VB something that will show Afbeelding 1 when databasefield Assortment is 20, show Afbeelding 2 when databasefield is 30, show Afbeelding 3 when databasefield is 40 else show nothing.
I tested with the answer of last topic but when I insert in the more option VB scripting of my databasefield the code
[code]If value = 20 Then
value = "Objects.Afbeelding 1"
value = ""
I will get an error of BarTender in the code saying [i]Types are not correct: '[string: "Field: Date"]' in Line 8[/i] however the code does not have 8 lines...
Michael Toupin (mtoupin