Doing a find on a find

We want to do a find on the results of a previous find.

I thought I could do something like the following, but its not working. Could someone point me in the right direction?

	if (globals.glbReuseFoundset == 1) {
		var dupFoundset = currentcontroller.duplicateFoundSet();
		dupFoundset.find();
	}
	else {
		currentcontroller.find();
	}

Following code may help

if ( application.getMethodTriggerElementName() == ‘AddToList’ )
{ controller.search(false, false) } // add to list
else
{
if ( application.getMethodTriggerElementName() == ‘ReduceList’ )
{ controller.search(false, true) } // reduce list
else
{
controller.search() // start new search
}

Regards

Graham Greensall
Worxinfo Ltd