Jump to content

Automatic location & size fields for containers


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

Recommended Posts

Anyone messed around with this yet?

I tried loading the template FM7 includes for storing documents. I

find when I load in a document, it doesn't automatically populate file

size, path, or anything else. This would be nice, is there a way to

get it to do this?

Anyone understand how FM looks for files you put in containers? Is it

in relation to the location of the database file itself? So if I want

to copy a database and a bunch of external files to another computer,

will they work fine if the folder relationships stay the same?

cheers

Andrew

Link to comment
Share on other sites

It's amazingly easy. Create a text calc field = to the container. That is, if your container field is Container1, define ContainerPath = Container1. And make sure the field is displayed tall enough - there are multiple lines of information!

Now - weirder yet - do it the other way around. Create a text field FilePath. Create a calc field, type container, = Filepath. Take some of the values you see from the step above and paste them into Filepath. Wow!

Link to comment
Share on other sites

Thanks, but it's acting a bit weird. It only gives me a file size when I choose insert quicktime. this would be fine if the file size was actually right. when i insert movie or sound files it says "size 0,0" and when I insert pdfs (it lets me do this on a quicktime insert for some reason) it says 595,842, which, again, is wrong.

Anyone had luck getting correct file size display?

Link to comment
Share on other sites

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