[Gambas-user] DataView Help

Benoit Minisini benoit.minisini at gambas-basic.org
Tue Jul 11 01:54:05 CEST 2023


Le 07/07/2023 à 17:26, Gianluigi a écrit :
> Hi Benoit,
> 
> in this (*) your response to Hans, to have more control over the data, 
> you suggest the use of DataView and custom buttons.
> 
> (*) https://lists.gambas-basic.org/pipermail/user/2022-August/076746.html
> 
> For the past few days I have been trying to figure out how to insert new 
> data (Minnie) into the project table that you can download at this link:
> 
> https://paste.c-net.org/TrippPaolo
> 
> (It weighs too much because of the presence of images).
> 
> Can you kindly put me on the right track?
> 
> I thank you for your attention and sorry for my ignorance
> 
> Regards
> 
> Gianluigi
> 

The mess comes from your Form_Activate() event handler that is raised 
each time the form is activated.

It moves the DataSource cursor, and so always save the current record 
when, for example, the calendar popup closes

What should do the code in Form_Activate(), and why?

-- 
Benoît Minisini.



More information about the User mailing list