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

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

Recommended Posts

Posted

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.

Posted

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...
Posted

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.

Posted

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

This topic is 6845 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.