on 07-21-2016 11:13 AM
Hi All,
Let me explain my situation. I need to find a way to reference and image file stored in a central repository, and link it to a code inside of CR. The image files are automatically named thusly when added to the system: "[STOCK-CODE] 00001.jpg".
I have attempted to link the file using a simple formula such as "\\locale\images\{stock.stock_code} *.jpg" but it returns nothing.
Anyone have any ideas?
Thanks,
Andy.
Hi Andrew,
Try:
'\\locale\images\'&{stock.stock_code}&'.jpg'
Does the Stock Code contain the entire image name? Like so:
StockCodeXYSS.jpg
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhilash,
Yes the image is named using the full code, so for example "APLTSBRASA..L14X7 00001.jpg" where the full code is "APLTSBRASA..L14X7" and the system applies an incremention to the image to avoid overlapping, hence "00001" at the end.
Have tried your soloution, unfortunatly no success as yet, but thank you for looking at it for me!
Andy
Hi,
Yes there is a 00001 added automatically when the image is processed. There is typically a space or two depending on the length of the code, however I am looking possibly to remove this, as it currently only serves to allow multiple images to be related to the same code within another program. for example, here are a few codes with their spacing intact:-
As you can see, the number of spaces can change, which is why I thought of using a wildcard, but so far it does not work.
Andy
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.