code: public int doEdit() throws DBException
      {
          try   {
              int iOpenMode = this.getRecord().getOpenMode();  // It is common to change this before open
              return m_tableRemote.edit(iOpenMode);    // Only call if edit is supported by remote db
          } catch (RemoteException ex) {
              throw new DBException(ex.getMessage());
          }
      }
docs: Lock the current record (Always called from the record class).
  NOTE: For a remote table it is not necessary to call edit, as edit will
  be called automatically by the set() call.
  This method responds differently depending on what open mode the record is in:
  OPEN_DONT_LOCK - A physical lock is not done. This is usually where deadlocks are possible
  (such as screens) and where transactions are in use (and locks are not needed).
  OPEN_LOCK_ON_EDIT - Holds a lock until an update or close. (Update crucial data, or hold records for processing)
  Returns false is someone alreay has a lock on this record.
  OPEN_WAIT_FOR_LOCK - Don't return from edit until you get a lock. (ie., Add to the total).
  Returns false if someone has a hard lock or time runs out.
  @return true if successful, false is lock failed.
  @exception DBException FILE_NOT_OPEN
  @exception DBException INVALID_RECORD - Record not current.