Re: ReadFirstMain
David Delač
9-18-20
Hi Aldevinas,

Like I explained in first reply, specifying zero keys is only used when checking if a record was already loaded or not. If record was loaded then ReadFirstMain returns true otherwise it returns false.

Usually when you are trying to load record from register, you would specify key value and number of keys/indexes in ReadFirstMain which is not the case in this example.

I hope that cleared it out.

Best regards,
David D.
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
Andis Blicāns, Grasko
Thank You for answer. In this case I used SSLNoCertificateValidation = true; SendWebRequest SSLNoCertificateValidation = false; ...
23:01 24 Mar 2026
Gatis Jansons
Hi, Paul. Sounds like you're talking about REST API. And that your are overwriting data with older values if B managed to read record before A finished to update it. Classic conflict resolution ...
14:53 19 Mar 2026