[Gambas-user] DataView Help

Christof Thalhofer chrisml at deganius.de
Wed Jul 12 21:29:31 CEST 2023


Am 12.07.23 um 21:14 schrieb Benoit Minisini:

> As LastInsertId may not be reliable, one have to use the DataView.Find()
> method to find the index of the last inserted record, knowing the
> primary keys of that record.
> 
> Now, following what I just said, I will try to add a method that finds
> the index of the last inserted record automagically.

But please take into account that the last inserted record in a table 
could have been created by another user/connection.

Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230712/2b3c35c8/attachment-0001.sig>


More information about the User mailing list