dmontano Posted June 30 Posted June 30 (edited) Hi all, I need some help again. I understand FileMaker provides two different script steps to "output" an Excel file: 1. Save Records as Excel Positives: Provides the ability to select CURRENT or FOUND SET of records. Negatives: Does not provide the option to select which fields to "save" Does not provide the option to select the order of the fields when being "saved". 2. Export Records Positives: Provides the option to select which fields to "export" Provides the option to select the order of the fields when being "exported". Negatives: Does not give us the ability to select CURRENT or FOUND SET of records. I need to use the "Export Records" script step: I have to have the features of field selection and field ordering. PROBLEM: When I use the Export Records of only the CURRENT record, I am unable to restore the "found set" that existed prior to the script being activated. I added a "Perform Find" script step to isolate just the "current record" and this does export the CURRENT record just fine. However, my FOUND SET that existed prior to script activation is obviously gone because of the Perform Find script step I had to use to isolate CURRENT record. QUESTION: How do I "restore" the found set that existed prior to activating the script? MY RESEARCH I have searched and came across a few "methods", such as: Custom Functions Summary Lists Creating another Table Occurrence Opening a New WIndow Etc. If any one can help, I appreciate it - thanks. Edited June 30 by dmontano Topic clarity
comment Posted June 30 Posted June 30 2 hours ago, dmontano said: How do I "restore" the found set that existed prior to activating the script? The simple method is to open a new window, isolate the current record and do the export. Then close the current window to return to the original found set. Alternatively you could switch to a layout that has the fields you want in the order you want them and do Save Records as Excel from there. But if that's all such layout would be used for, it's hardly worth the effort. 1
dmontano Posted June 30 Author Posted June 30 1 hour ago, comment said: The simple method is to open a new window, isolate the current record and do the export. Then close the current window to return to the original found set. Hi Comment, I just tried this and it worked - thank you! I did not have to create a new layout, a new TO, a new relation, global field, etc. Thank goodness! I just added a couple script steps (#1 and #4 below) ordered as shown below. Script Step 1: New Window; Style: Document Window Name: (I used the same name as the original window) Using Layout: Current Script Step 2: Perform Find — To isolate the "Record to Export" Script Step 3: Export Records Script Step 4: Close Window: Current Window
dmontano Posted Tuesday at 09:23 PM Author Posted Tuesday at 09:23 PM Hi all, Can I get a confirmation if the new FileMaker release, with this new function, addresses the need I had which was: "restoring a found set"? Sorry if this is obvious to others. https://www.soliantconsulting.com/blog/capturing-recreating-found-sets-filemaker-pro-2025/
comment Posted Tuesday at 09:32 PM Posted Tuesday at 09:32 PM It provides yet another method to capture and restore the found set. But I believe it will be still be simpler and faster to keep the original found set intact, as suggested above.
dmontano Posted Tuesday at 09:39 PM Author Posted Tuesday at 09:39 PM 3 minutes ago, comment said: It provides yet another method to capture and restore the found set. But I believe it will be still be simpler and faster to keep the original found set intact, as suggested above. Thank you. I was weighing if purchasing an upgrade was "worth" it to me - and if I adopt "new feature" ways of doing things. I can tell you for sure I would upgrade if FileMaker just added these features: Folders for Value Lists; Folders for Table Fields; Folders for Custom Functions;
comment Posted Tuesday at 09:49 PM Posted Tuesday at 09:49 PM As you can see from the release notes, folders for custom functions have been implemented: https://help.claris.com/en/pro-release-notes/content/index.html 1
Recommended Posts
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