Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

export with different file names

Featured Replies

I am trying to make a button that will export my records but I need either a dialog that requires you enter a filename or I need the filename to be retrieved from a field.

With FM8's variables you can make the export file path dynamic. In the "specify output file" window when you setup the export script step, use a variable instead of a real path: $_output.

In your script you can use a Custom Dialog to let the user type in a path, or take the path you have a in a field and with that info build a valid path in FM lingo: filemac:/volume/folder/file

and put that in the variable.

  • 3 weeks later...

I need to do something similar but in FMP 6. Can I export records automatically without having to name them myself?

In 6, the output file name & location is hard coded. So each subsequent export will overwrite the existing file. Unless you use some OS scripting right after the export to move/rename the exported file.

Ah, I have similar requirement in this respect as well. When executing a script to export record, a window dialog box will open up for user to input whatever filename they wish and what file type they would like to save the file etc. But I am interested to get whatever the user has keyed in as filename in the script, how can I capture the complete filename (together with extension) that the user has keyed-in in the script?

Thanks in advance.

NotPro

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.