Newbies Sterling6of9 Posted August 29, 2015 Newbies Posted August 29, 2015 HELP How can I Export using a $variable as my File Name I am a new User with Filemaker 12 on a PC. I need to export to a file and have the field "Report Id" be the file name I Exported. Sample " Field Report Id = "Mik01122015" I need to export mt data to "Mik01122015.txt" How can I Export using a $variable as my File Name "$variable= Field "Report#" Export to "Report#123.txt" I am using this script
OlgerDiekstra Posted August 30, 2015 Posted August 30, 2015 Make sure you prepend the file name with "filewin:/". Ie; "filewin:/C:/Test/report.txt" Also make sure you swap all backslashes for forward slashes.
Wim Decorte Posted August 30, 2015 Posted August 30, 2015 Also you need to include the whole path, filename and extension in the variable. In the Export Records script step you can not use a calculation like $Filename.fmpur it has to be just $Filename
Recommended Posts
This topic is 3743 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 accountSign in
Already have an account? Sign in here.
Sign In Now