[Gambas-user] DataBrowser & DataControl

Benoit Minisini benoit.minisini at gambas-basic.org
Mon Aug 22 14:38:02 CEST 2022


Le 21/08/2022 à 18:45, Hans Lehmann a écrit :
> Hello.
> 
> I am looking for solutions for the following tasks for which I have not 
> yet found a solution:
> 
> I use the controls DataBrowser and DataControl for the display as well 
> as the input and output of database data.
> When I enter and save a new record or delete a record, the DataControls 
> are subsequently empty and no record is selected.
> 
> Tasks:
> 
> After deleting, the predecessor record should be selected as long as 
> there is still a predecessor.
> After inserting a new record, the new record should be selected.
> 
> With kind regards
> 
> Hans
> 

You should implement your own DataBrowser then, with a DataView and your 
own buttons, so that you can do exactly what you want after an insertion 
or a deletion.

Regards,

-- 
Benoît Minisini.


More information about the User mailing list