Hi Experts
I was just writing a component and my requirnment is to figure out if it is last record then I have to set a boolean value and do some logic.
Issue is it never goes in to this if condition.any pointers or this implementation is dead.
if(coll.getState()==IDfCollection.DF_INITIAL_STATE)
{
System.out.println("inside initial state");
}
if(coll.getState()==IDfCollection.DF_CLOSED_STATE)
{
System.out.println("inside CLOSED state");
}
if(coll.getState()==IDfCollection.DF_NO_MORE_ROWS_STATE)
{
System.out.println("inside no more rows state");
}
if(!(coll.getState()==IDfCollection.DF_READY_STATE))
{
System.out.println("inside ready state");
}
code always goes in ready state
Regards
Bhanu