Newbies thachlam Posted December 16, 2010 Newbies Posted December 16, 2010 This problem seems to be easy to solve but somehow it has driven me mad in the last few days. This database has hundred thousands of records, each has a photo section with 2 fields: field A contains the link to photo (imported from Excel) and field B is a calculation field with result as a Container (to display image from field A). The calculation is: "imagewin::" & Substitute (PHOTOLINK ; "" ; "" ) where PHOTOLINK is the field name of field A. The result is a message "the file cannot be found: C:\Photos\IMG_2222.JPG" I've checked the photos and their preferences and found no mistakes. I've tried every possible solutions but stil can not have the images displayed. I would be great if someone can figure what is wrong with me or my calculation. Thanks. FM11 Pro Advanced - Win7
comment Posted December 16, 2010 Posted December 16, 2010 The calculation is: "imagewin::/" & Substitute (PHOTOLINK ; "" ; "" ) Not sure what this does. Try a calculation that will return: imagewin:/C:/Photos/IMG_2222.JPG
Newbies thachlam Posted December 16, 2010 Author Newbies Posted December 16, 2010 Not sure what this does. Try a calculation that will return: imagewin:/C:/Photos/IMG_2222.JPG I tried that and it still did not work; for some reasons, FM can not find any files in any hard drives of my computer however, there is no problem with direct inserting the images.
comment Posted December 16, 2010 Posted December 16, 2010 I suggest you do the following experiment: Create a new file with 2 fields: a container field, and a calculation field (result is Text) = GetAsText ( YourContainerField ) Insert a picture into the container field, as reference only. The calculation field should now show three lines, something like: size:480,320 image:../Photos/IMG_2222.JPG imagewin:/C:/Photos/IMG_2222.JPG Compare the third line with the result of your calculation - they need to be exactly the same.
Newbies thachlam Posted December 16, 2010 Author Newbies Posted December 16, 2010 Thanks for the solution, I'll give it a try.
Recommended Posts
This topic is 5149 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 accountSign in
Already have an account? Sign in here.
Sign In Now