ReadFirstKey cannot find a record
Aldevinas Katkus
9-24-20
Operating system: macOS
I am checking for an existing invoice like this

IVr2.OfficialSerNr=inline;
if (ReadFirstKey("OfficialSerNr",IVr2,1,true))then begin
...

if inline=VPLT25790C11LT then ReadFirstKey() returns false even though such key exists. I have checked the invoices browse window - the same issue - I cannot find an invoice even it is in the list.
If I search for VPL25866 it works fine.
Is it a bug?
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
Neil
Hello, We also have a customer on windows who is on 2026-02-28 having the exact same error message after updating. The title of the messagebox is in our case is: "C:\Program Files(x86)\Han...
23:33 19 May 2026
Hello Piotr, if you reported the bug can you please past here the title so we can test it. Thank you. Benjamin...
11:35 28 Apr 2026