I am building an app to print Recipes and I need to display a different picture for each dish
The Database is Access 97 which is fine and I want to keep my images in a seperate folder on the users PC
like "C:\RecipePictures\Soup.jpg"
I have tried using an embedded, External and Database sources and cannot get any to do what I want has anybody got any ideas please
I guess I realy want to use external but it won't accept C:\RecipePictures\Soup.jpg it is looking for a URL
any help gratefully received
You need to make sure the path to your images is located under your web root. Assume your web root is c:\inetpub\wwwroot, then you need to put the RecipePictures folder in wwwroot (or a subfolder to wwwroot). Or you could create a virtual directory under wwwroot that points to C:\RecipePictures. You create a virtual directory in the IIS manager (MMC). Good luck!
if the DB has the path to the image, you can have the picture in the report as expression "file://" & {the path to the imge}
that may bring the picture in.
Best solution is to do everything in SQLserver express its free! and you can have pictures in the DB
|||thanks I will have a play with that
the problem is that my users are strictly non technical and the picures will be saved where they are saved, I have struggled to get them to save them with english names
|||
Thanks, sounds good
the access Database is a legacy thing and I may move to SqlServer but these guys are working on the road so we currently use replication through their company VPN if we added images, most are over 1meg, the syncro would be horrendous (they use 3G when they don't have wireless)
|||OK FYI
I set the source to External
the Value to +"Fill://"+Fields!Photolocation.Value //Text field in Access DB holding the path and name of the image like C:\Recpe pictures\Soup.jpg
the MimeType was empty
this means that each record can have it's own image
|||sorry an error should be ="File://" NOT +"Fill://"
I set the source to External
the Value to ="File://"+Fields!Photolocation.Value //Text field in Access DB holding the path and name of the image like C:\Recpe pictures\Soup.jpg
the MimeType was empty
this means that each record can have it's own image
No comments:
Post a Comment