Re: ReadFirstMain
David Delač
2020-09-18
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
Piotr Wycichowski
Hi, I checked option "Use External Mail Software" in setting "Mail and Conferences Settings" in module "Mail and Conferences". When I create an invoice email I have a ...
17:38 8 Aug 2025
Piotr Wycichowski
Hi, Is somebody experienced in necessary settings for successful connection to server using webclient. When I tried, I got warning in brower, that Web client settings for HTTPS is not setup. So I ...
12:59 21 July 2025