[Gambas-Notification] [Git][gambas/gambas][master] Add some Find() methods that allow to find the index of a specific row.

Benoît Minisini gitlab at mg.gitlab.com
Mon Nov 23 21:30:42 CET 2020



Benoît Minisini pushed to branch master at Gambas / gambas


Commits:
77ba659c by gambas at 2020-11-23T21:30:35+01:00
Add some Find() methods that allow to find the index of a specific row.

[GB.DB.FORM]
* NEW: DataSource: Find() is a new method that returns the index of the first row matching a specific SQL condition.
* NEW: DataSource: FindNext() is a new method that returns the index of the first row matching a specific SQL condition next to the current position.
* NEW: DataBrowser: Find() is a new method that moves to the first row matching a specific SQL condition next to the current position.
* NEW: DataView: Find() is a new method that moves to the first row matching a specific SQL condition next to the current position.

- - - - -


8 changed files:

- comp/src/gb.db.form/.project
- comp/src/gb.db.form/.src/DataBrowser.class
- comp/src/gb.db.form/.src/DataSource.class
- comp/src/gb.db.form/.src/DataTable.class
- comp/src/gb.db.form/.src/DataView.class
- comp/src/gb.db.form/.src/FBrowser.form
- comp/src/gb.db.form/.src/Test/FTest.class
- comp/src/gb.db.form/.src/Test/FTest.form


View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/77ba659c6c94f720110490f3d5c9efaf17250c1a

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/77ba659c6c94f720110490f3d5c9efaf17250c1a
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/notification/attachments/20201123/4d265be1/attachment.htm>


More information about the Notification mailing list