all groups > sql server reporting services > august 2005 >
You're in the

sql server reporting services

group:

Round 2...


Round 2... Brian Cesafsky
8/8/2005 11:14:18 AM
sql server reporting services:
I am VERY new to reporting services, so I think this should be an easy one.

I created a simple report that uses a SPROC as the dataset. There are 2
input parameters for the SPROC...
1) a Dealer number
2) a Inventory number.

The dealers are uploading pictures of the inventory items onto my server
into a folder.

The structure of the folder is as follows.

http://mywebsite.com/dealers/DEALER NUMBER/invetorypics/INVENTORY NUMBER.jpg

I am reposting - nobody answered the first time...


I have code so when the dealer uploads a picture of the piece of invetory,
the inventory number becomes the name of the image.

Example... dealer number is 1234 and the inventory number is 5678

The image is saved to this location, with this file name...
http://mywebsite.com/dealers/1234/autopics/5678.jpg


so here is my question... on a report that I run to show a specific piece of
inventory (including the image), how do I dynamically populate the "value"
property of my image control? I say dynamically, because the path of the
'value' property is built using the 2 input parameters (the user is
supplying the parameters under the covers by clicking a row in a grid).

so in the above case, the "value" property needs to be set to
http://mywebsite.com/dealers/1234/autopics/5678.jpg

Thanks in advance!

Brian


Re: Round 2... Floyd Burger
8/8/2005 12:38:10 PM
Set the Image.Value property to this expression:
=http://mywebsite.com/dealers/ & Parameters!DealerNumber.Value &
"/autopics/" & Parameters!InventoryNumber.Value & ".jpg"

(the "http...dealers/" should be in quotes, but OE likes to remove quotes
and make a hyperlink)
--
Floyd

[quoted text, click to view]

Re: Round 2... Brian Cesafsky
8/9/2005 8:13:32 PM
I tried this, but it is not working, I don't get the image...



[quoted text, click to view]

AddThis Social Bookmark Button