Re: AppleScript + Filemaker Pro
Re: AppleScript + Filemaker Pro
- Subject: Re: AppleScript + Filemaker Pro
- From: Luca Pozzato <email@hidden>
- Date: Fri, 09 Nov 2001 19:38:05 +0100
This should work
tell application "FileMaker Pro 5.0"
--set my_search to "1234" --
set Msearch to display dialog "Search number:" default answer ""
set my_search to text returned of Msearch
tell database "Contacts"
show (every record whose cell "phoneNumber" contains my_search)
end tell
end tell
Luca
>
From: Steven Kreuzer <email@hidden>
>
Date: Fri, 9 Nov 2001 12:45:34 -0500
>
To: email@hidden
>
Subject: AppleScript + Filemaker Pro
>
>
Hello All,
>
>
I am new to FMP scripting and would like to know if it is possible to
>
write a script that allows you to search a filemaker database for
>
text in a field.
>
Lets say I have a field called "phoneNumber" in database "Contacts",
>
can I write a script that searches for "1234"?
>
>
--
>
>
Steven Kreuzer [email@hidden]
>
Condi Nast Publications
>
4 Times Square, 21st Floor
>
New York, NY 10036
>
(212) 286-5403
>
http://homepage.mac.com/skreuzer/
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users