It is already there. Do a search and FM will ask, after you specify the A, B, C conditions, to save it as a search template. That will do two things. The obvious one is that it will store the specifications of the search for reuse. But it also stores a list of the record numbers that the search produces. (This is not what most people would expect a search template to be storing.) This result set, while not the actual fields retrieved as in a SQL query, is useful because it can restrict the records considered in a second pass with a report or ^LOOPing.

You can use this search template during an ^LOOP edit, by entering '[templatename' at the SORT BY: prompt when looping. Search templates are stored in the SORT template file, so don't be alarmed if you get a peek of the name 'sort' when dealing with a 'search' template.

Kevin Toppenberg wrote:

Hey all,

One of my transcriptionists put the wrong date in for
about 60-100 progress notes. So I need to look for
each of these and replace them with the proper date. This has gotten me to thinking about a needed Fileman
extension: Sets. Here is how I concieve of them
working:
1. Perform a search
2. Store the resulting set of records in an array (a
"SET")
3. Allow a fileman function on each record in the set,
via the ^LOOP command.


Does this functionality already exist some other way?

Thanks
Kevin





__________________________________ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web http://birthday.yahoo.com/netrospective/



------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Hardhats-members mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/hardhats-members





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to