[Gambas-user] datacontrol date problem

Marco Ancillotti gambas at servinfo.it
Wed Jul 3 18:51:50 CEST 2019


Hi all,

I have a datacontrol with a date type field in postgresql ( date type 
only have date without time ).

When I use it the field display date and time ( time is always 00:00 ) , 
when I try to change the control to set the mode to date only using:

datacontrol.Control.mode = 0

I get "Datebox.mode is not a control' error.

So the datacontrol don't detect correctly the field type ( date only 
without time ) and when I try to force it I get the error.

Is there a way to set the mode or to force the datacontrol to use the 
right field type in any way ?

thank's,

marco.




More information about the User mailing list