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
Hi! The error message means "holding wrong Database Version" Why it happens, though, is something what has to be debugged......
15:51 1 July 2025
Arzu Erdogdu
Hello! You can mark it as closed as option. If document is connected with other documents you can not delete it so you will not be able to delete PO, as you will not be able to remove Goods receipt...
09:29 13 Jun 2025