Note that in a search you are asked for a 'sort' template to store results in (the first kind) but then also can specify sort criteria and store that in a template (the second kind). In many cases you can do both selection and sorting with the simple sort template. One major difference is that a template from a search simply has each selected entry occuring once (even if info within a multiple was used in selection), while a sort template can show an entry more than once if for example it is 'selecting' and sorting by something within a multiple.
One advanage of the search type template is that if you want to run multiple reports against the exact same entries, you have them preselected, which in most cases saves CPU time. Also the selections form a snapshot, so you know you are dealing with the same entries even if something has changed since the initial run, which is helpful in many cases.
Each has their uses and it depends on many factors including the cross references available and the complexity of the 'selection' criteria as to whether a simple sort is possible or preferable over a search.
Hope this helps,
Marianne
Kevin Toppenberg wrote:
Someone pointed out that Sort Templates contain lists
of IEN's that have been generated in a search process.I am wanting to use this functionality in my XML
exporter. I want to all a user to specify a SORT
Template to allow selection of certain records to be
exported.I have looked at a SORT TEMPLATE that I created, and
sure enough there was a list of IEN's under node "1".
But then I looked at many other templates that came
with my system, and none of them seem to have a node
"1", or a list of IEN's.So my question is, why do some have IEN lists, and why
do some other not have this? Are some using code to
generate the IEN's on the fly?Thanks
Kevin
____________________________________________________
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
http://football.fantasysports.yahoo.com-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members