Hi, I wonder whether we can shorten while (cursor.hasNext()) { cursor.fwd(); // meat of the loop } to while (cursor.fwd()) { // meat of the loop } ? Ciao, Dscho