Checking if form is in Find mode or not

Hello,

currently I am looking for a solution how I can determine if a form is in Find mode or not. I am looking for something like that:

//form load ...
aMethod(); //returns false
controller.find(); 
aMethod(); //returns true
controller.search();
aMethod(); //returns false

Seems not to be too difficult, but searched forum and documentation but didn’t find anything.

Best regards

Schoby

Take a look at the function foundset.isInFind()

Hi Joas,

thanks that was exactly what I was looking for. Somewho I was always looking at the controller object and not on the foundset.

Thanks

Schoby