Filemaker automated filename when exporting

Hi,

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.

Examples

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,

jedi
J3D1-KN1G1-1tAsked:
Who is Participating?

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

x
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: http://www.filemaker.com.au/help/html/create_db.8.32.html

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
0

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
lesouefCommented:
don't to format it fmwise, ie:
file://folder/filename
or winfile:/C:/folder/file
or macfile:volume/folder/file (from memory, not 100% dure)
0
lesouefCommented:
missing word up there
read don't forget to format...
0
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

Cheers
0
lesouefCommented:
up to you, it exports the current foundset, so do what you need. you obviouly need to select the right records before exporting
0
J3D1-KN1G1-1tAuthor Commented:
thanks
0
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
Programming

From novice to tech pro — start learning today.