Re: FileMaker Create Record Target
Re: FileMaker Create Record Target
- Subject: Re: FileMaker Create Record Target
- From: Joe <email@hidden>
- Date: Sat, 20 Jun 2009 15:24:06 -0700
At 12:18 PM -0400 4/4/08, Jason Bourque wrote:
>The following script will create a record in the frontmost database.
>How can I target the correct database?
>
>I am using FileMaker Pro Advanced 9v3
>
>
>tell application "FileMaker Pro Advanced"
> tell database "Marketing Landscape.fp7"
> tell table "Calendar"
> tell layout "Calendar List"
> -- show
> set vNewRecord to create new record with data {vEventName, vDaysLateMax, vEventLocation, vProjectStartDate, vStartDate, vEndDate}
>
> end tell
> end tell
> end tell
> end tell
>
I use this in FMP:
tell application "FileMaker Pro"
set newrec to create new record with data tmpList at table "AppleScriptLists" of database "MailingLists"
end tell
HTH
Joe
_______________________________________________
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