Hi,
My code works fine with re.hasPreviousElement() & re.prevousRecordID but in Nokia N
series the seq gets changed & i need to change the code as re.hasNextElement() &
re.NextRecordID() so can i combine these two conditions??
thanks & regards,
Hi,
My code works fine with re.hasPreviousElement() & re.prevousRecordID but in Nokia N
series the seq gets changed & i need to change the code as re.hasNextElement() &
re.NextRecordID() so can i combine these two conditions??
thanks & regards,
Thanks with Regards,
R a j - The K e r n e l
Join Delhi-NCR Nokia Developer's Community,
Yes, you can combine them.
Just when you use the nextRecordID() the enumeration moves to the next possition.
When you use hasNextElement() the enumeration only check availability of the next element.
Remember, records are never guaranteed to be secuencial.
:Ruben
Hi,
One more thing with using Record Enumeration is that the order of processing is not fixed. Its not necessary that it will start from 1st record. I have used Record enumeration and it was processing in decreasing order.
Sunil
Mobile Application Developer