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
Paul Timms
I would like to know what BackgroundHALShouldPause does, and how to use it. While it's listed in the HAL Primitives report, it is not used in source code and it doesn't appear in the LMS HAL...
18:15 30 Jan 2026
Bror-Erik Kotiranta
Please create a bugreport on the problems...
10:38 26 Jan 2026