Number of criteria returned is 0!!

Previous topic - Next topic

pankaj.puranik

Hi

Here's my code.

System.out.println("No. of criteria: "+odf.getNumCriteria());

Is there anything that I have to do on the CMOD admin tool on the Folder?

Here's what I get on the console.

-----------------
Name: TestF
Description: Test Folder
MaxHits: 0
No. of criteria: 0
NumApplGroups: 0
SearchMessage: null

-----------------

pankaj.puranik

I am sorry!!
This was actually a silly mistake of mine.
I didn't do a odfolder.open() before calling odf.getNumCriteria().

My appologies.

Thanks
Pankaj.