Table of Content
HAL Forum
procedure AppendFieldToKeyName (
String field)
Description:
Creates index with specified field in mainkey.
Parameters:
field add a field to index
  RecordBegin(TestVc,-,"");
  RecordField(Code,M4Code,20,INVc);
  RecordField(SalesGroup,M4Code,5,SalesGroupVc);
  MainKeyBegin(Code,1);
  StoreInBaseKey;
  AppendFieldToKeyName(SalesGroup);
  KeySegment(Code);
  EndRecord;

Related topics:
««