SM76 Posted February 5, 2008 Posted February 5, 2008 Morning. I'm linking images into a container field by inputting a link into the container field with the result being an image. This has been discussed on this forum before and works like a charm. I can however (for the life of me) not figure out how to 'center' that resulting photo within the container field. Can anyone give me a hint? much appreciated M
SM76 Posted February 5, 2008 Author Posted February 5, 2008 apologies, it's a calculation field with result container, there we go .. formatting issue remains
SM76 Posted February 5, 2008 Author Posted February 5, 2008 got it, haha, sometimes writing things down alone helps Graphic Format command is where to look
SM76 Posted December 1, 2009 Author Posted December 1, 2009 So, I'm kinda reviving this thread here .. still linking an image into a calculation field (with result container) .. This time I'm curious as to how I control the 'file not found' message .. I'd like to let the user know that they in fact haven't put a file in that particular folder rather than the system telling it that it can't find it .. Is it possible to do such a thing? I tried to put an if statement into the calculation: if( get(lasterror) = xxx ; 'link to no file found image' ; 'link to actual image') I tried various error codes (instead of the xxx) but to no avail .. help?
TheTominator Posted December 1, 2009 Posted December 1, 2009 This time I'm curious as to how I control the 'file not found' message .. I'd like to let the user know that they in fact haven't put a file in that particular folder rather than the system telling it that it can't find it .. Is it possible to do such a thing? I think this type of error can only be caught in a script. The container's value is only deferenced at the time the container is displayed. You could explore triggering a script (FileMaker 10 or later) when the record is displayed that would attempt to validate the reference by inserting it into a non-visible global container field to catch the error. The user would still be shown the built-in error message inside the original container, but you could pop up a dialog that is more descriptive and provides scripted options.
Recommended Posts
This topic is 5561 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