Stacey Tan Posted August 4, 2004 Posted August 4, 2004 I have created a FMP 7 solution using FMP developer. The solution includes an import and export function. It works fine in a FMPro 7. However, the import and export functions does not work once I compiled it into an exe file. Does anyone know why? Desperate now. Can anyone help?
davidp Posted August 4, 2004 Posted August 4, 2004 In the "Import Records" script step, when you specify the data source file, you will need to specify your file name(s) with the ".usr" extension in addition to the ".fp7" extension. By including both file names, you will be able to use the same script in both your developer version in FileMaker and your bound solution (of course, you may have changed your extension to something other than ".usr", but the principle is the same).
Stacey Tan Posted August 4, 2004 Author Posted August 4, 2004 It was a Excel file that I was trying to import in. But you gave me an idea. I keep thinking that it was a disk access permission error and I keep looking that way. Then I found out that it was the data source path that was wrong. For some reason, I could not get it working with relative data path in exe mode. So I changed it to absolute path and it works!!!
Recommended Posts
This topic is 7786 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