-
lettumika replied to the topic KbmMemTable Unique index in the forum kbmMemTable 6 years, 8 months ago
I have been working with other subjects but returned to this now.
I found the following:
IndexFieldNames := ‘Field:U’ doesn’t workbut IndexDefs.Add(CustId’,’CustId’,[ixPrimary,ixUnique]); works when done if table if opened after that (of course)
-
lettumika started the topic KbmMemTable Unique index in the forum kbmMemTable 6 years, 9 months ago
Hi,
I’d like to create unique index for kbmmemtable.
I have tried CustomerMemTable.IndexFieldNames := ‘CustID:U’
or
CustomerMemTable.IndexDefs.Add(CustId’,’CustId’,[ixPrimary,ixUnique]);
It works so that insert fails but there is no error generated . also no error is generated when index is modified to unique (only other non unique record…[Read more]
