public void getResults(int cursor, IFieldGetter rslt, Object[] buf) { switch (cursor) { case 0: ((short[])buf[0])[0] = rslt.getShort(1); ((String[])buf[1])[0] = rslt.getVarchar(2); ((decimal[])buf[2])[0] = rslt.getDecimal(3); ((bool[])buf[3])[0] = rslt.getBool(4); ((short[])buf[4])[0] = rslt.getShort(5); ((String[])buf[5])[0] = rslt.getVarchar(6); ((DateTime[])buf[6])[0] = rslt.getGXDate(7); ((DateTime[])buf[7])[0] = rslt.getGXDate(8); return; } }