iamtechman Posted May 29, 2008 Posted May 29, 2008 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.
comment Posted May 29, 2008 Posted May 29, 2008 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.
iamtechman Posted May 29, 2008 Author Posted May 29, 2008 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.
comment Posted May 29, 2008 Posted May 29, 2008 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.
Recommended Posts
This topic is 6022 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