Record locking for multiple users

Hi,
Is it possible to lock the record when somebody is starting for edit the record?
Thanks.

Hi,

check this DA7 sample: testcase.zip (5.7 MB)

NOTE: it may require some manual changes because we have refactored code in DA8

Hi,
I got the following error when i open the project.

image

Hi,

You can ignore that RO SDK part. it will work w/o ROZeroConf

Hi,

I remove “ROZeroConfRegistration1RegistrationSucceeded” procedure. But I still got the following error.

Hi,

as expected.

  • DASampleLibrary_Intf.pas
  IDASampleService = interface(ISimpleDataAbstractService)
  ['{FA3BA4DA-D3AC-4F97-B63C-3B8B1295241C}']
    procedure BlockRow(const pkField: ROAnsiString);
    procedure UnblockRow(const pkField: ROAnsiString; const IsReadRow: Boolean);

vs

  • DASampleService_Impl.pas
  TDASampleService = class(TDataAbstractService, IDASampleService)
...
    procedure BlockRow(const pkField: AnsiString);
    procedure UnblockRow(const pkField: AnsiString; const IsReadRow: Boolean);