sbryant
Posts: 3
|
| Posted: 03/28/2006, 7:26 PM |
|
I am trying to add an image to my grid, based on say an item code {ITEM} and a defined URL.
So, if my item code is "ABC123"
I have an images folder containing all my jpgs - "\\server\images"
How do I enter into my grid/table to obtain the resulting filename:
\\server\images\abc123.jpg
I am not a programmer so please bear that in mind if you do have a solution!
Thanks
Steve
|
 |
 |
peterr
Posts: 5971
|
| Posted: 03/29/2006, 3:21 AM |
|
Your question may not be sufficiently clear since you mentioned both "enter" and "obtain" in one sentence. Are you trynig to upload files and enter filenames into the database, or trying to obtain filename from a database and display an existing image?
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
sbryant
Posts: 3
|
| Posted: 03/29/2006, 3:04 PM |
|
i have a small access database containing product codes and details that I can query through a CCS application (ASP based). If I enter a search parameter, it returns a number of products, along with the relevant product details. I then view an item to see full details on the selected item. What I am wanting, is to add an additional cell containing an image of the product based on the item number field.
The images are held totally independantlly in a windows shared directory. The file name matches the {ITEM} field in my CCS application but I need to add the url path and file extension to complete it.
Does this clarify things enough Peter ?
|
 |
 |
peterr
Posts: 5971
|
| Posted: 03/29/2006, 3:24 PM |
|
Yep, now it looks clear and simple 
You can probably just place a label on your page that displays file names, then go into the HTML mode and edit the HTML code around the label to display images instead. For example change {Label1} to:
<img src=\\server\images\{Label1}>
Also make sure that your overall syntax is correct, for example by typing in your Web browser "\\server\images\abc123.jpg" and checking if the image will be displayed properly.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
|