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: "Pitcher, George" <email@hidden>
- Date: Wed, 24 Jan 2001 06:43:14 -0000
Surely you ca do all of this without Applescript. The script steps are all
rthere in FMPro to allow you do do it along the lines of:
Script in DB1>>>
Copy [sourcefield]
perform Script(External) [database2.newrec]
Script in DB2>>>
New Record/Request
Paste [field]
Because it all happens as one longer operation there is no interruption
between copy and paste so the data flows smoothly. I use this method often.
George P, Edinburgh
>
-----Original Message-----
>
From: cris [mailto:email@hidden]
>
Sent: 24 January 2001 00:22
>
To: AppleScript Users
>
Subject: Re: scripting copy from one filemaker database to another
>
>
>
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!
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users