Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How can I find file path for scripted FileMaker export?

Posted on 2011-09-13
3
Medium Priority
?
631 Views
Last Modified: 2012-05-12
First off, I'm working with a FileMaker 6 database ... please don't laugh, it will be upgraded soon.

My problem: I'm working with a relatively simple script that exports data to an XML file, but I'm having a heck of a time determining where that XML file is landing.

From the script detail I can see how the data is found and sorted, the preset file name and type, but nowhere do I see the file path that is stored within the script. I know the file is not saved to the local server, and there are no error messages to indicate a problem with the export.

Is there any way to lift the veil of secrecy and see where the file is being saved?

Thank you!
0
Comment
Question by:cafoster
  • 2
3 Comments
 
LVL 25

Accepted Solution

by:
Will Loving earned 2000 total points
ID: 36532064
FileMaker Pro 6 and earlier stored certain settings in scripts such as Sort order, Export order and, I'm pretty certain, Save locations, in way that was not visible to the end user. The only way in FMP 6 to tell what the hidden setting is, is to actually run the script and then see what the results are. The alternative is to change the setting.

The way FMP 6 determined what setting to save is by looking at the last time you made that setting. So if you wanted to change the Export or Sort Order for a script, you would manually run the Export or Sort and then open and close the script. On Close, it would ask you if you wanted to Replace the existing settings with the current settings. If you click OK, it would then save the most recent setting to the script.

One way to actually see the saved setting is to convert the file to FMP 7 or later. In later versions, the save location is visible. It can also be set via a script calculation by creating a variable such as $FilePath and which contains the correct path to where you want to save the export and then putting $FilePath into the File Path dialog for the export.
0
 

Author Closing Comment

by:cafoster
ID: 36532106
If I can see the filepath in a newer version of FileMaker, I'll upgrade a copy of the database and get it that way. Thank you!
0
 
LVL 25

Expert Comment

by:Will Loving
ID: 36532180
You can download a trial copy of FileMaker Pro 11 that's good for 30 days and see how it works. Also, be aware that if your FileMaker Pro 6 database has multiple related files, you may wish to take care when converting. I've written an entire article just on this topic that may be of use:

FileMaker Consolidation - merging multiple files

http://www.experts-exchange.com/Apple/Software/Filemaker_Pro/A_4722-FileMaker-Consolidation-merging-multiple-files.html
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Conversion Steps for merging and consolidating separate Filemaker files The following is a step-by-step guide for the process of consolidating two or more FileMaker files (version 7 and later) into a single file with multiple tables. Sometimes th…
Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question