Substitute Image For Non Match S’abonner
Need some help. We are trying to convert from our current Label/Shelf Tag Solution to Bartender. I am trying to replicate a Shelf tag we currently use. We match a UPC.jpg field to a image.jpg of the product. Whenever there is no matching image.jpg file we insert a standard company.jpg image. In the upc.jpg field in my data source there is always a upc.jpg data. There just may not be a match in the folder containing the image files. Is there a way to VB script this.?
6 commentaires

Shotaro Ito
I remember I have seen similar question - Would this script help?
http://forums.seagullscientific.com/index.php?/topic/2817-default-image/
Kevin and I work together. We do not know what the phrase 'give share name to data source' means or how to implement it. Can you explain?
To further explain our situation, we have all of our pictures located in one folder, including our logo picture. In pseudo code, could we do this?
Get picture location from field in a file.
If picutre exists, print it
else
print logo picture
endif
When you create a Linked picture object (from data source), you can name a data source.
Named data source can be accessed from VB Script, or can be shared in other objects.
download all the files in C:\pic folder and try..
Vous devez vous connecter pour laisser un commentaire.