public void moveReferences() throws SQLException {
  if (currentRow == null || currentRow.isLast()) {
    nextTable();
  }
 else {
    nextRow();
  }
}

public void moveReferences ( ) throws SQLException { if ( currentRow == null || currentRow . isLast ( ) ) { nextTable ( ) ; } else { nextRow ( ) ; } }
update the global references . if table is complete , move on to next table , else move to next row .
