Re: Filmaker container field
Re: Filmaker container field
- Subject: Re: Filmaker container field
- From: ehsan saffari <email@hidden>
- Date: Tue, 13 Aug 2002 02:09:25 -0600
On 12/08/2002 23:01, email@hidden,
email@hidden wrote:
On Tue, 13 Aug 2002 Kelvin Aitken <email@hidden> wrote:
>
In Applescript how do I ascertain if a container field in FileMaker
>
contains information (a picture to be precise)?
>
>
I have a script that checks a Filemaker database to see which records do
>
not contain pictures in the
>
picture container field but am having trouble nutting out how to get a
>
boolean result on whether a container field is empty or not.
Well, a container field can contain a sound, movie or and image, the
image maybe stored or refrenced, movies and sounds are always refrenced.
If the image is a stored JPEG, FMP returns 0 for its data size (duh!)
which is exactly what it would return for an empty container cell, but if
its a PICT it returns the true size of the PICT.
So you need to experiment for the supported image types and whether they
are stored or refrenced.
If the returned dat size is larger than zero then you can be sure your
boolean is True, but if its zero, it may or maynot be False.
Sorry I dont have a better answer.
cheers
ehsan
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.