Jump to content

GetAsText function not working as expected


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

Recommended Posts

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?

Link to comment
Share on other sites

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???

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This topic is 5767 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.