SteveS Posted April 16, 2009 Posted April 16, 2009 I am using FM Advanced 10 using Windows Vista and have a problem with a script designed to export records from several tables to a file folder. The export script does not work properly in the runtime version. I get the following error; File; "ExampleReport" could not be created on this disk. Use a different name, or make more room on the disk, unlock it or use a different disk. The export script works fine, but when I bind the program up as a runtime file I get this error message. Example code; Send Event["aevt","odoc";"cmd /c md c:ExampleReport"] Export Records[No Dialog; "ExampleReport.fp7"; Unicode (UTF-16)] Any help would be much appreciated.
IdealData Posted April 16, 2009 Posted April 16, 2009 When you bind a runtime only the files included at the binding stage can be used in the application. Your AppleScript implies you are creating a .fp7, which of course was not part of the runtime. What were you planning to do with the .fp7 ?
Fenton Posted April 16, 2009 Posted April 16, 2009 I have no problem exporting a FileMaker file from a Runtime. The error message is what you get whenever there is anything wrong with the path, so that would be the first place to look. I am doing this on a Mac right now, but I can't see that would make any difference (other than a slightly different path).
SteveS Posted April 17, 2009 Author Posted April 17, 2009 I would like to thank both of you for your help! Fenton, you were right! The file path was incorrect. After you mentioned this, I looked at the file paths and soon realized it was incorrect. Thank You again!
Recommended Posts
This topic is 5699 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