Solved

How can I find file path for scripted FileMaker export?

Posted on 2011-09-13
3
623 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 25

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 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

Independent Software Vendors: 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…
Problem: You have a hosted FileMaker database and users are tired of having to use Open Remote or Open Recent to access the database. They say, "can't you just give us something to double-click on rather than have to go through those dialogs?" An…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

735 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