May 29, 200817 yr I have created a DB that among other things, exports a CSV file to the desktop. Everything works fine while in FileMaker. However, when use the runtime version, I get an error message: [color:purple]"output.csv" could not be created on this disk. Use a different name, make more room on the disk, unlock it or use a different disk. I tried logging in with the same admin privileges on both the FileMaker and the runtime version but the outcome is the same. Any help would be greatly appreciated. Thanks.
May 29, 200817 yr It looks like you are trying to export to a location that does not exist. It would be useful to see the actual script. And of course, version and platform information is always helpful, too.
May 29, 200817 yr Author The part of the script that doesn't work is: Export Records[No dialog; "output.csv";Windows (ANSI)] Where the output file is set to: file:../Desktop/cccsvoutput.csv It is FileMaker Pro 9 Advanced running on XP.
May 29, 200817 yr That's a relative path, specified from the current file's location. It seems the runtime is not located at the same location as the original file. Use an absolute path, or (preferably) use a variable to calculate the path dynamically - see Help > Creating a database > Creating file paths.
Create an account or sign in to comment