ddinisco Posted February 4, 2009 Posted February 4, 2009 Is it possible do a Save Find as a script step? Couldn't find it, but just seems like that is something they would have added in v10. Thanks
Lee Smith Posted February 4, 2009 Posted February 4, 2009 It is a v10 goody, see the Videos Link We even have a topic about them Link
ddinisco Posted February 5, 2009 Author Posted February 5, 2009 Thanks for the link. The question still remains though, can Saving a Find be scripted, so that the user is unaware that a save is even happening?
Lee Smith Posted February 5, 2009 Posted February 5, 2009 You can save a scripted find, in fact you could always save a find. All you had to do is to perform the find, and then create a script using the Find Script Step you had just performed. In v7, you could can modify these finds within the Script Step editor, where as in the previous versions you had to redo the find manually, and then replace the step. They also added the ability to create the find steps within the editor. In v10 you can perform a find, and then save it in the new feature. This would be just duplicating what you have already created were doing with script From your explanation, I get the feeling that what you are really asking, is a way to save the criteria that the user has used, in some kind of Audit file. HTH Lee
comment Posted February 5, 2009 Posted February 5, 2009 can Saving a Find be scripted, so that the user is unaware that a save is even happening? No. The most you can do is open the 'Edit saved Finds…' dialog for them.
ddinisco Posted February 5, 2009 Author Posted February 5, 2009 Thanks for taking the time to answer my question. To be perfectly clear, I guess what I am asking is... I do a find which returns a found set, in that set I may omit records, constrain or extend the found set. Once I have the list just the way I want it, can I use the new Save Find feature to return me this found set, and because I cannot use the toolbar in my solution, how do I script that? Thanks again
comment Posted February 5, 2009 Posted February 5, 2009 can I use the new Save Find feature to return me this found set No. Saved Finds stores your find requests, not the results.
Lee Smith Posted February 5, 2009 Posted February 5, 2009 can I use the new Save Find feature to return me this found set, No, but you can mark the records of the found set using something a script and a filed. I use this file, Link, scroll to the bottom of the page, as it is the last demo listed "[color:blue]Custom Record Selection System" HTH Lee
Søren Dyhr Posted February 5, 2009 Posted February 5, 2009 Although I by and large try to avoid tagging records, is Lee right here, unless the duration the found set's existence would fit inside a "session" or a possibly a shorter while - then would I do it this way instead: http://www.sumware.net/robfm2/?p=4 --sd
Lee Smith Posted February 5, 2009 Posted February 5, 2009 (edited) Although I by and large try to avoid tagging records, is Lee right here Who knows? At least he has a few things to choose from. I use "Custom Record Selection System" when I want to have a selected group, but not lose it when doing additional finds for other criteria. A second script can remove the marked status when your done. I hadn't seen this Article before, the technique looks helpful, thanks for the link. Lee Edited February 5, 2009 by Guest
Newbies jakedeg Posted January 22, 2015 Newbies Posted January 22, 2015 I know this topic is old, but I just wanted to comment on what an awesome solution this is. The Nightwing demo that Lee linked to is very old (and only a FileMaker 5 file) but I did some searching and found a slightly newer (and much improved) FMP 8 version here: http://www.nightwing.com.au/FileMaker/demos8/demo802.html I am using a modified version of it with great success!
Recommended Posts
This topic is 3592 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