Solved

How can I find file path for scripted FileMaker export?

Posted on 2011-09-13
3
615 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 24

Accepted Solution

by:
Will Loving earned 500 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 24

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Pop up windows can be a useful feature of any Filemaker database.  Though best used sparingly, they can be employed in a multitude of different ways, for example;  as a splash screen at login, during scripted processes to control user input, as pick…
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…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now