« EXAMPLE: When Is The Monday Of A Week | Main | A READER ASKS: Validate Field has Specific Number Of Characters »
Saturday
Aug162008

A READER ASKS: Reference Alias Only

From Dwayne Wright - Certified FileMaker 9 Developer
WEB: www.dwaynewright.com
EMAIL: info@dwaynewright.com
TWITTER: dwaynewright

A READER ASKS
We are building a FileMaker based Asset Management System and will be using the reference method for the actual assets. I’m trying to find a way to limit the file type being uploaded to an “alias” only. Is there a way to do this in a calculation in the container filed?

-------
DWAYNE RESPONDS
Well, by default you can setup the Insert File script step to have the Reference only option set. I think that the user could still remove the check.

Here you can see the reference only option for the Insert File script step.

Now you can use a calculation to look at the size of the inserted file by using the length function. Here is a link where I discuss that topic.

DYK: Length Function And Container Object Size

Here you can see size of a container file using a reference (alias) and the size of a container with the file embedded.

More info about the author and FileMaker in general, contact me at info@dwaynewright.com.

© 2010 - Dwayne Wright - dwaynewright.com

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Hyperlinks will be created for URLs automatically.