/** * Called when a new blank record is required for the table/query. * @param bDisplayOption If true, display any changes. */ public void doNewRecord(boolean bDisplayOption) { super.doNewRecord(bDisplayOption); // Initialize the record this.setMainKey(bDisplayOption, Boolean.FALSE, true); // Set up the key (DO NOT mark all fields as changed) } /**
/** * Setup the initial key position in this record... Save it! */ public void doInitialKey() { if (m_bInitialKey) this.setMainKey(DBConstants.DONT_DISPLAY, Boolean.TRUE, true); // Set up the key (mark all fields as changed) super.doInitialKey(); // This is the starting key, set the initial position } /**
/** * Setup the initial key position in this record... Save it! */ public void doInitialKey() { if (m_bInitialKey) this.setMainKey(DBConstants.DONT_DISPLAY, Boolean.TRUE, true); // Set up the key (mark all fields as changed) super.doInitialKey(); // This is the starting key, set the initial position } /**
/** * Called when a new blank record is required for the table/query. * @param bDisplayOption If true, display any changes. */ public void doNewRecord(boolean bDisplayOption) { super.doNewRecord(bDisplayOption); // Initialize the record this.setMainKey(bDisplayOption, Boolean.FALSE, true); // Set up the key (DO NOT mark all fields as changed) } /**
/** * Setup the end key position in this record... Save it! */ public void doEndKey() { if (m_bEndKey) this.setMainKey(DBConstants.DONT_DISPLAY, Boolean.TRUE, true); // Set up the key (mark all fields as changed) super.doEndKey(); } /**
/** * Called when a new blank record is required for the table/query. * @param bDisplayOption If true, display any changes. */ public void doNewRecord(boolean bDisplayOption) { super.doNewRecord(bDisplayOption); // Initialize the record this.setMainKey(bDisplayOption, Boolean.FALSE, true); // Set up the key (DO NOT mark all fields as changed) } /**
/** * Setup the end key position in this record... Save it! */ public void doEndKey() { if (m_bEndKey) this.setMainKey(DBConstants.DONT_DISPLAY, Boolean.TRUE, true); // Set up the key (mark all fields as changed) super.doEndKey(); } /**
/** * Setup the initial key position in this record... Save it! */ public void doInitialKey() { if (m_bInitialKey) this.setMainKey(DBConstants.DONT_DISPLAY, Boolean.TRUE, true); // Set up the key (mark all fields as changed) super.doInitialKey(); // This is the starting key, set the initial position } /**
/** * Setup the end key position in this record... Save it! */ public void doEndKey() { if (m_bEndKey) this.setMainKey(DBConstants.DONT_DISPLAY, Boolean.TRUE, true); // Set up the key (mark all fields as changed) super.doEndKey(); } /**
super.setMainKey(bDisplayOption, boolSetModified, bSetIfModified); boolean bNonNulls = false; // Default to yes, all keys are null. if (m_fldThisFile != null)
super.setMainKey(bDisplayOption, boolSetModified, bSetIfModified); boolean bNonNulls = false; // Default to yes, all keys are null. if (m_fldThisFile != null)
super.setMainKey(bDisplayOption, boolSetModified, bSetIfModified); boolean bNonNulls = false; // Default to yes, all keys are null. if (m_fldThisFile != null)
super.setMainKey(bDisplayOption, boolSetModified, bSetIfModified); boolean bNonNulls = false; // Default to yes, all keys are null. if (Boolean.TRUE.equals(boolSetModified))
super.setMainKey(bDisplayOption, boolSetModified, bSetIfModified); boolean bNonNulls = false; // Default to yes, all keys are null. if (Boolean.TRUE.equals(boolSetModified))
super.setMainKey(bDisplayOption, boolSetModified, bSetIfModified); boolean bNonNulls = false; // Default to yes, all keys are null. if (Boolean.TRUE.equals(boolSetModified))
bSetIfModified = false; case DBConstants.ADD_TYPE: boolean bNonNulls = this.setMainKey(bDisplayOption, null, bSetIfModified); // Set up the key (keys are marked as changed if they change!) if ((bNonNulls == false) && ((this.getOwner().getMasterSlave() & RecordOwner.SLAVE) == 0)) // Don't return for a server!
bSetIfModified = false; case DBConstants.ADD_TYPE: boolean bNonNulls = this.setMainKey(bDisplayOption, null, bSetIfModified); // Set up the key (keys are marked as changed if they change!) if ((bNonNulls == false) && ((this.getOwner().getMasterSlave() & RecordOwner.SLAVE) == 0)) // Don't return for a server!
bSetIfModified = false; case DBConstants.ADD_TYPE: boolean bNonNulls = this.setMainKey(bDisplayOption, null, bSetIfModified); // Set up the key (keys are marked as changed if they change!) if ((bNonNulls == false) && ((this.getOwner().getMasterSlave() & RecordOwner.SLAVE) == 0)) // Don't return for a server!
super.setMainKey(bDisplayOption, boolSetModified, bSetIfModified); boolean bNonNulls = false; // Default to yes, all keys are null. if (m_fldMainFile != null)
super.setMainKey(bDisplayOption, boolSetModified, bSetIfModified); boolean bNonNulls = false; // Default to yes, all keys are null. if (m_fldMainFile != null)