Jump to content
Sign in to follow this  
Totes

Export File With Field Content As Name?

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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