Re: AS/FMP: a list of fewer than two records
Re: AS/FMP: a list of fewer than two records
- Subject: Re: AS/FMP: a list of fewer than two records
- From: Michael Grant <email@hidden>
- Date: Fri, 27 Feb 2004 17:14:17 -0600
On Feb 27, 2004, at 4:42 PM, Chap Harrison wrote:
On Feb 27, 2004, at 4:07 PM, Michael Grant wrote:
tell application "FileMaker Pro"
tell database "LineItems"
exists (record 1 whose cell "Price" is "*") -- returns true or false
end tell
end tell
Interestingly, it doesn't throw an error. It simply returns 'false'
under all conditions.
Could that be because your "Price" is a number field? The script below
returns true for an actual database on my system right now:
tell application "FileMaker Pro"
tell database "units.fp5"
exists (record 1 whose cell "unit" is "standard page")
end tell
end tell
Michael
--
2. If it's stupid but it works, it's not stupid.
_______________________________________________
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.