Filemaker automated filename when exporting


I have database which tracks merchandise delivered and received, one of our suppliers(supplier X) wants me to exports records into .csv and save the the file name as the time stamp field.


For Order Acknowledgment the suppler wants the file name to be like: Order_Ack_YYYYMMDD_HHMMSS; Order_Ack_20100512_032501.csv

Is there anyway to do a script where it automatically saves it like the above format, instead of me manually typing the actual file name.

Any help would be greatly appreciated

Many Thanks,

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Lieven EmbrechtsSenior IT ConsultantCommented:
From filemaker 8 and later, you can use $variables in file paths.
Variables let you specify file or folder paths dynamically.
more info here:

i assume you already registered the acknowledgment date-time in a field.
so in your script:
- first set a $variable with a calculation to you file format
- export to that variable

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
don't to format it fmwise, ie:
or winfile:/C:/folder/file
or macfile:volume/folder/file (from memory, not 100% dure)
missing word up there
read don't forget to format...
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

J3D1-KN1G1-1tAuthor Commented:
Thanks for all the replies

Will this create multiple exports ? or will it keep exporting to the same file?
I need to have multiple exports for every record for each time stamp created

up to you, it exports the current foundset, so do what you need. you obviouly need to select the right records before exporting
J3D1-KN1G1-1tAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.