Hi,
RecordAddBegin;
DisableIndex(MainKey);
MainKeyBegin(...)
EndRecordAdd;
This should work just fine. I think it's a bad idea to rename the main key, so use the same name for it but doing this has other consequences for master code.
e.g. master code might think two records are the same record but they are not (because main key now has 1 more segment) and if this works depends on what register.
Best Regards,
David D.
HansaWorld Support