Genx Posted February 3, 2006 Posted February 3, 2006 ... righto, i want to get the filepath of the picture stored in a container field as text... the problem is when i try it gives me something akin to the following.. file:file.exe filewin/c:/documents and settings/file.exe .. where as i just want the filepath.. why does it do this, and whats the work around... p.s. the calc field that gets as text will be storing the filepath for multiple files... cheers, genx
mr_vodka Posted February 3, 2006 Posted February 3, 2006 If you use the GetAsText () function on a container field that has a file or image stored as only a reference, it gives you a lot more information. For example, if you have inserted as a picture, it will give you image size, relative path and full platform path . If you insert it as a File, then it will not give you the size. A work around could be to parse out the data that you want from it and store it in a global or a variable. HTH
Genx Posted February 3, 2006 Author Posted February 3, 2006 i thought it was brandy is dandy but liquor is quicker... never the less.... its good to know these things, cheers, genx
Recommended Posts
This topic is 6931 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