/** * FieldChanged Method. */ public int fieldChanged(boolean bDisplayOption, int iMoveMode) { m_mMAmRequests.setupBrocDetail(m_rAmRequests, m_rAmReqDetail, m_rAmBrocDetail, m_rAmBrochure, m_rAmReqInput); return super.fieldChanged(bDisplayOption, iMoveMode); }
/** * FieldChanged Method. */ public int fieldChanged(boolean bDisplayOption, int iMoveMode) { m_mMAmRequests.setupBrocDetail(m_rAmRequests, m_rAmReqDetail, m_rAmBrocDetail, m_rAmBrochure, m_rAmReqInput); return super.fieldChanged(bDisplayOption, iMoveMode); }
/** * The Field has Changed. * Change the key order to match this field's value. * @param bDisplayOption If true, display the change. * @param iMoveMode The type of move being done (init/read/screen). * @return The error code (or NORMAL_RETURN if okay). */ public int fieldChanged(boolean bDisplayOption, int iMoveMode) { int iErrorCode = this.setupGridOrder(); if (iErrorCode != DBConstants.NORMAL_RETURN) return iErrorCode; return super.fieldChanged(bDisplayOption, iMoveMode); } /**
/** * The Field has Changed. * Change the key order to match this field's value. * @param bDisplayOption If true, display the change. * @param iMoveMode The type of move being done (init/read/screen). * @return The error code (or NORMAL_RETURN if okay). */ public int fieldChanged(boolean bDisplayOption, int iMoveMode) { int iErrorCode = this.setupGridOrder(); if (iErrorCode != DBConstants.NORMAL_RETURN) return iErrorCode; return super.fieldChanged(bDisplayOption, iMoveMode); } /**
/** * The Field has Changed. * Change the key order to match this field's value. * @param bDisplayOption If true, display the change. * @param iMoveMode The type of move being done (init/read/screen). * @return The error code (or NORMAL_RETURN if okay). */ public int fieldChanged(boolean bDisplayOption, int iMoveMode) { int iErrorCode = this.setupGridOrder(); if (iErrorCode != DBConstants.NORMAL_RETURN) return iErrorCode; return super.fieldChanged(bDisplayOption, iMoveMode); } /**
public int fieldChanged(boolean bDisplayOption, int iMoveMode) { TourActivity record = (TourActivity)getMainRecord(); record.setTargetDate(((DateField)this.getOwner()).getDateTime()); return super.fieldChanged(bDisplayOption, iMoveMode); } });
/** * The Field has Changed. * If this field is true, add the table back to the grid query and requery the grid table. * @param bDisplayOption If true, display the change. * @param iMoveMode The type of move being done (init/read/screen). * @return The error code (or NORMAL_RETURN if okay). */ public int fieldChanged(boolean bDisplayOption, int iMoveMode) { boolean flag = this.getOwner().getState(); if (flag) m_mergeRecord.getTable().addTable(m_subRecord.getTable()); else m_mergeRecord.getTable().removeTable(m_subRecord.getTable()); m_mergeRecord.close(); // Must requery on Add, should close on delete if (m_gridScreen == null) return DBConstants.NORMAL_RETURN; else return super.fieldChanged(bDisplayOption, iMoveMode); } }
/** * The Field has Changed. * If this field is true, add the table back to the grid query and requery the grid table. * @param bDisplayOption If true, display the change. * @param iMoveMode The type of move being done (init/read/screen). * @return The error code (or NORMAL_RETURN if okay). */ public int fieldChanged(boolean bDisplayOption, int iMoveMode) { boolean flag = this.getOwner().getState(); if (flag) m_mergeRecord.getTable().addTable(m_subRecord.getTable()); else m_mergeRecord.getTable().removeTable(m_subRecord.getTable()); m_mergeRecord.close(); // Must requery on Add, should close on delete if (m_gridScreen == null) return DBConstants.NORMAL_RETURN; else return super.fieldChanged(bDisplayOption, iMoveMode); } }
/** * The Field has Changed. * If this field is true, add the table back to the grid query and requery the grid table. * @param bDisplayOption If true, display the change. * @param iMoveMode The type of move being done (init/read/screen). * @return The error code (or NORMAL_RETURN if okay). */ public int fieldChanged(boolean bDisplayOption, int iMoveMode) { boolean flag = this.getOwner().getState(); if (flag) m_mergeRecord.getTable().addTable(m_subRecord.getTable()); else m_mergeRecord.getTable().removeTable(m_subRecord.getTable()); m_mergeRecord.close(); // Must requery on Add, should close on delete if (m_gridScreen == null) return DBConstants.NORMAL_RETURN; else return super.fieldChanged(bDisplayOption, iMoveMode); } }