August 29, 201510 yr Newbies 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
August 30, 201510 yr 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.
August 30, 201510 yr 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
Create an account or sign in to comment