public CFGenKbISOCountryCurrencyBuff nthISOCountryCurrencyCursor(CFGenKbCursor Cursor, int Idx) { int targetRowIdx = Idx; CFGenKbISOCountryCurrencyBuff rec = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { rec = nextISOCountryCurrencyCursor(Cursor); } return (rec); }
public CFGenKbISOCountryCurrencyBuff prevISOCountryCurrencyCursor(CFGenKbCursor Cursor) { int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1; CFGenKbISOCountryCurrencyBuff rec = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { rec = nextISOCountryCurrencyCursor(Cursor); } return (rec); }
public CFGenKbISOCountryCurrencyBuff firstISOCountryCurrencyCursor(CFGenKbCursor Cursor) { int targetRowIdx = 1; CFGenKbISOCountryCurrencyBuff rec = null; Cursor.reset(); while (Cursor.getRowIdx() < targetRowIdx) { rec = nextISOCountryCurrencyCursor(Cursor); } return (rec); }