In article <XLOdncSN3aj_fbnVnZ2dnUVZ_r3inZ2d@[EMAIL PROTECTED]
>, "Karin
Zirk" <kzirk@[EMAIL PROTECTED]
> wrote:
> I'm writing a script that does two separate im****ts.
>
> In the first im****t I use the Im****t Action as 'Add new records'.
> Then on the second im****t I use the Im****t Action as 'Update existing
> records in found set'.
>
> As long as I have the scripting perform with dialog and I set the option
I
> want manually it works, but otherwise it defaults to the last option.
Is
> there a way to set this to be what I want it to be as part of the script
> step?
You don't say what version of FileMaker, but some commands (eg. Im****t,
Ex****t, Find, etc.) can "Store" settings within the script, but only
ONE set of options per script. These options are normally set by
performing the command manually and then setting the Script to store
the previous settings. In newer versions of FileMaker I beleive you can
set the options within in the Script command itself.
One way around this "one store per script" limitation is to use two
scripts - one to store each set of Im****t options. You can then either
use a Perform Script command at the end of the first Script to run the
second Script, or have a third Script that performs both im****t Scripts
in order.
eg.
Perform (Im****t Script 1)
Perform (Im****t Script 2)
Helpful Harry
Hopefully helping harassed humans happily handle handiwork hard****ps ;o)


|