• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: FileMaker Pro 10 Find Request
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FileMaker Pro 10 Find Request


  • Subject: Re: FileMaker Pro 10 Find Request
  • From: Bruce Robertson <email@hidden>
  • Date: Thu, 6 May 2010 12:38:55 -0700

Your delete very request action isn't working because it is not sufficiently explicit.

In general when you experience FileMaker applescripting problems, be sure to be explicit and complete.

For a find operation you may need to explicitly address a particular window and layout because many database may be open and any database may have multiple windows open.

This works for me:

tell application "FileMaker Pro Advanced"
	set w to "FastVariables - 2"
	set L to "WikiGeo"
	activate
	show window w
	go to layout L of window w
	try
		delete every request of window w
	end try
	set MyRequest to create new request
	set cell "ArticleName" of MyRequest to "House"
	find of window w
end tell


On May 6, 2010, at 8:42 AM, Steve Valenti wrote:

> When I run this script and change the “SomeString” it adds to the found records so that I have my last search and the current search. Should not the delete every request reset my found records???
>
>
>
> tell application "FileMaker Pro"
>           tell database "NameOfDataBase"
>                    show every record
>                    try
>                              delete every request
>                    end try
>                    set MyRequest to create new request
>                    set cell "NameOfField" of MyRequest to "SomeString"
>                    go to (find)
>           end tell
> end tell
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >FileMaker Pro 10 Find Request (From: "Steve Valenti" <email@hidden>)

  • Prev by Date: RE: FileMaker Pro 10 Find Request
  • Next by Date: RE: FileMaker Pro 10 Find Request
  • Previous by thread: Re: FileMaker Pro 10 Find Request
  • Next by thread: Re: FileMaker Pro 10 Find Request
  • Index(es):
    • Date
    • Thread