dbTalk Databases Forums  

Export file name without plugin

comp.databases.filemaker comp.databases.filemaker


Discuss Export file name without plugin in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Eric Smith
 
Posts: n/a

Default Export file name without plugin - 09-25-2005 , 07:44 PM






Is it possible to export the records using a field as the file name?

I am using FM6 on WinXP.


Reply With Quote
  #2  
Old   
Matt Wills
 
Posts: n/a

Default Re: Export file name without plugin - 09-25-2005 , 08:08 PM






Eric Smith wrote on (9/25/2005):

Quote:
Is it possible to export the records using a field as the file name?

I am using FM6 on WinXP.
Not without a plugin, unless...

Back in FM3, I had a calc field to create a AppleScript using the desired
filename. I scripted export to a default filename, then executed the AS
to change the name of that file. Worked just fine.

I am totally clueless how to do that in Winduhs, but I do believe it's a
relatively simple thing for someone who knows how.

Matt

--



Reply With Quote
  #3  
Old   
Rigsby
 
Posts: n/a

Default Re: Export file name without plugin - 09-26-2005 , 05:42 AM




Eric Smith wrote:
Quote:
Is it possible to export the records using a field as the file name?

I am using FM6 on WinXP.
Yes, you can do what you want, but you need to be able to use basic DOS
commands for Windows or Apple Script for Mac. What you want to do is
then very easy.

Set up your script to export to a standard file, e.g. temp.txt, then
using the send message script step in Windows, ren (rename) the
temp.txt file to the value of your field. You can create a calculating
field containing the whole DOS command, then use the Field option in
the send message.

Rigsby



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.