scripted export with auto-gen filename

scripted export with auto-gen filename

am 07.04.2008 21:17:48 von FastWolf

Is there way to use a calculated result as part of a file path in the
Export Records script step? I want the script to export a found set
using a sequential, auto-generated filename, all with no dialog. But
there doesn't seem to be a way introduce a variable into the Output
File Path list.

thanks in advance

--
FW

FileMaker Pro 8.5 Advanced on Windows XP Pro SP2
FileMaker Server 8.0 on Windows 2003 Server R2

Re: scripted export with auto-gen filename

am 08.04.2008 01:07:02 von Ursus

"FastWolf" schreef in bericht
news:vqpkv3poacfv6n3f255eigfjscc62qi016@4ax.com...
> Is there way to use a calculated result as part of a file path in the
> Export Records script step? I want the script to export a found set
> using a sequential, auto-generated filename, all with no dialog. But
> there doesn't seem to be a way introduce a variable into the Output
> File Path list.
>
> thanks in advance
>
> --
> FW
>
> FileMaker Pro 8.5 Advanced on Windows XP Pro SP2
> FileMaker Server 8.0 on Windows 2003 Server R2

You could use a variable. Assign full path and name to.
Set Variable $ExportPath = "filewin:/drive/path/name.ext"
(look out for the counter intuitive use of the / instead of \ )
Put the variable in the: Specify Output File

You could also use a plug-in, which would also give more possibilities

Keep well, Ursus

Re: Re: scripted export with auto-gen filename

am 08.04.2008 16:30:15 von FastWolf

Ursus,

Thanks, damned if this didn't work. For some reason I couldn't make
this technique work before. I just upgraded to FMP Advanced so maybe
that has something to do with it.

However I've run into another issue with exporting involving FMP error
800. I'll have a separate post on that later, hopefully I can solve
it first.

--
FW

FileMaker Pro Advanced 8.5 on Windows XP Pro SP2
FileMaker Server 8.0 on Windows 2003 Server R2


On Tue, 8 Apr 2008 01:07:02 +0200, "Ursus" wrote:

>
>"FastWolf" schreef in bericht
>news:vqpkv3poacfv6n3f255eigfjscc62qi016@4ax.com...
>> Is there way to use a calculated result as part of a file path in the
>> Export Records script step? I want the script to export a found set
>> using a sequential, auto-generated filename, all with no dialog. But
>> there doesn't seem to be a way introduce a variable into the Output
>> File Path list.
>>
>> thanks in advance
>>
>> --
>> FW
>>
>> FileMaker Pro 8.5 Advanced on Windows XP Pro SP2
>> FileMaker Server 8.0 on Windows 2003 Server R2
>
>You could use a variable. Assign full path and name to.
>Set Variable $ExportPath = "filewin:/drive/path/name.ext"
>(look out for the counter intuitive use of the / instead of \ )
>Put the variable in the: Specify Output File
>
>You could also use a plug-in, which would also give more possibilities
>
>Keep well, Ursus
>