Re: Halcust requirements for Version 8.4
David Delač
12-28-19
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


Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
David Delač
Hi Gastón, Please report a bug in our issue tracker and attach test database that you can repeat this in so I can have a look. Paste subject here once done...
09:46 14 May 2025
Paul Timms
From what I've read, using these will store the updated records in memory and then write them to the database in bulk, instead of each record writing to the database in turn. So perhaps there&apo...
17:53 29 Apr 2025