Skip to Content
avatar image
Former Member

Dynamic Pictures using Graphic Location function

I am using VS 2003 and CR 2008

I have a report that shows a map of the site. Depending on what site the report is ran for I want it to show a different image.

I am using an OLE Object and setting the Graphic location to:

"http://www.datascopeplc.com/DeliveriesAdmin/Maps/" + ToText ({DS.SiteID},0 ,"") + ".jpg"

Where SiteID is the name of the image.

This works fine when I am testing it in local host but when I place it on the server the image doesnu2019t show. I replaced the path with the local path e.g.

D:\DeliveriesAdmin\Maps\" + ToText ({DS.SiteID},0 ,"") + ".jpg"

This worked but the problem is when I move it to the live server the images wont be held there so I need to use the first path.

Any help would be great.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 15, 2008 at 01:43 PM

    My first thought is that the server cannot get to that site. If you remote desktop into the server, can you key in that URL and get to it?

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 05, 2009 at 01:16 AM

    Please re-post if this is still an issue to the .NET Development - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly

    Add comment
    10|10000 characters needed characters exceeded