Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

I'm sure that one of the biggest uses of the GetAsText function is to extract the filename/path from a container field that references to a file.

Which works fine for me, but it only returns the file name, but not the path. I'm using this function in a calculated field GetAsText (containerfield), with results as Text.

Upon reading the help section, it states it'll return the "external path information". When I read that, I think the path and filename. Am I wrong in assuming this?? Or is there something I'm not doing right?

Posted

Brent, when I use the GetAsText () on a container field, I yield the following results...

size:320,240

image:My Pictures/someimage.gif

imagewin:/C:/Documents and Settings/Administrator/My Documents/My Pictures/someimage.gif

Maybe your results field should be strechted larger???

Posted

but it only returns the file name, but not the path.

the calc will give you the path ONLY if the image (or whatever) is inserted into the container as a reference to the file ( you have to check the relative flag)

Posted

Yes, and both of you are absolutely right. I didn't realize that it returned so much info when referenced, like John mentioned. Jeez - sometimes I just don't think!! Well, maybe someone else will learn from my misunderstanding.

This topic is 6992 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
×
×
  • Create New...

Important Information

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