Jump to content

viewing images via path reference in SQL


kiwiora
 Share

This topic is 2943 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi,

 

I have a FM Database which interfaces SQL.

 

My problem at the moment is having images appear via reference.  I can get it to work if I have the path in FM (the serial TrademarkID is still coming from SQL), but even though the exact same result, as soon as I have the path all coming from SQL it says it can't find the image :(

 

 

To get it to work

Calculation returned as container (TrademarkID is SQL field)

Image = “imagewin://{server}/d$/Images/Trademarks/” & TrademarkID & “.jpg”

 

How I am trying to get it to work :

Image = Calculation ImageFilePath as container 

ImageFilePath returns correct path as above

 

SQL:

ImageFilePath =

X.ImageFilePath + T.TrademarkID + '.' + ImageExt as ImageFilePath

 

Where

X.ImageFilePath  (constant) imagewin://{server}/d$/Images/Trademarks/

TrademarkID variable serial 

ImageExt variable extension

 

Link to comment
Share on other sites

This topic is 2943 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.