Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Export File With Field Content As Name?


This topic is 5818 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

Hi,

Is it possible to export a file as the (or with the name) of a field content?

If the field content was: Hotwheels the file would be exported as Hotwheels.fp7...and if the field content was Matchbox the file exported would be Matchbox.fp7.

I currently export the files to my desktop to be moved later but I can't figure out how to rename based on the field content.

Thanks,

Jim

Edited by Guest
Posted

When you specify the file name in the Export script step you may use $variable as a parameter - this will be how you generate your file name.

Your script needs a Set Variable as follows:

$filename = Get ( DesktopPath ) & FIELD & ".fp7"

Then your Export script step must use $filename as the parameter. Don't forget to make sure you are exporting as a FileMaker file

Posted

Thanks,

I thought it had something to do with the variable, but I just did not understand them enough to put it together.

Thanks again,

Jim

This topic is 5818 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.