On 2009 May 8, at 1:28, Tim Mansour wrote:
2009/5/8 Richard S. Russell <[email protected]>:
I'd like to be able to display
for my users which kind of thing they've got in that field, but I
couldn't
find either a Get or Design function that would tell me.
Richard you can use the GetLayoutObjectAttribute function to help
here:
GetLayoutObjectAttribute ( "object name" ; "content" )
If you've inserted a file into your container you'll get the file
name returned:
Graph Modelling.pdf
However, if you've inserted a reference to the file you'll get 2 lines
like this:
file:Graph Modelling.pdf
filemac:/Mac HD/Users/tim/Documents/FileMaker/Graph Modelling.pdf
Thanks, Tim.
So, just to pick your brain 1 more time, would it be safe to say that
a test for the existence of a return character would yield conclusive
proof that I'm dealing with a reference instead of an actual file?