Data Sources With Images
Can anyone assist with the below scenario?
I'd like to add a local image to a label (to be used as a header), but the file to be used should be dependant on the prefix of a field type.
Example:
Product Type A Ref: AA123456
Product Type B Ref: BB123456
Product Type C Ref: CC123456
Image output displays X, Y, Z depending on the prefix of the Reference.
Hope that makes sense.
Thanks in advance.
-
Set the image to be data sourced and specify the path to where the images are to be found. Set the data source of the image object to be a VB script, and then use an If...Then or Switch...Case statement to set the value of the image to the appropriate image file name based on the value of the prefix value.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar