Re: scripting copy from one filemaker database to another
Re: scripting copy from one filemaker database to another
- Subject: Re: scripting copy from one filemaker database to another
- From: cris <email@hidden>
- Date: Wed, 24 Jan 2001 01:21:54 +0100
on 23.01.2001 22:36 Uhr, Lorne Golden at email@hidden wrote:
>
The problem is that the create new record does not seem to work. Usually it
>
creates the new record in the original database from where the script is
>
called. Basically applescript can't seem to differentiate between the 2
>
databases.
Yes, this is very stupid by FM: Either you activate the database where you
want to create the record ('set visible of theDatabse to false/true' does
the job) or you reference the database explicity in EVERY line, this is the
safest way i found out.
tell app "FM"
create new record at database foo
set cell foo of last record of database foo to ...
end
Something like that.
Greetings
cris
--
+ English is my second language, please write slowly!