[Gambas-user] DataView Help... solved?
Benoit Minisini
benoit.minisini at gambas-basic.org
Fri Jul 14 12:17:45 CEST 2023
Hi,
The last commits add a new optional boolean argument to the
Connection.Create() method.
If set to TRUE, then the Update() method will fill its Result object
with the contents of the newly inserted record, serial fields included.
This feature is used by the 'gb.db.form' DataSource control to
automatically move to the newly inserted record reliably.
Note that not all database systems support this feature, and not in all
versions.
If the feature is not supported, the optional boolean argument of
Create() is silently ignored - you get a warning message on the command
line only if you set DB.Debug = TRUE. And in that case, DataSource
control will not move to the newly created record.
Regards,
--
Benoît Minisini.
More information about the User
mailing list