code: public void copyRecordInfo(Record recDest, Record recSource, boolean bCopyEditMode, boolean bOnlyModifiedFields)
      {
          if (recDest == null)
              recDest = this.getCurrentRecord();
          if (recDest != recSource)
          {
              boolean bAllowFieldChange = false;		// This will disable field behaviors on move
              boolean bMoveModifiedState = true;		// This will move the modified status to the new field
              Object[] rgobjEnabledFieldsOld = recSource.setEnableFieldListeners(false);
              recDest.moveFields(recSource, null, DBConstants.DONT_DISPLAY, DBConstants.READ_MOVE, bAllowFieldChange, bOnlyModifiedFields, bMoveModifiedState, false);
              recSource.setEnableFieldListeners(rgobjEnabledFieldsOld);
              if (bCopyEditMode)
                  recDest.setEditMode(recSource.getEditMode());    // Okay?
          }
      }
docs: Set the current table target.
  @param table The new current table.