[Gambas-user] DataControl write, but don't read

Benoit Minisini gambas at ...1...
Sat Jan 26 22:03:05 CET 2008


On samedi 26 janvier 2008, Benoit Minisini wrote:
> On samedi 26 janvier 2008, Nx GT-R BOY wrote:
> >  Hi, I have a problem with datacontrol component, the problem is I can
> > WRITE to my database (MySQL 5.0.38), but I cant read, I have another
> > datacontrols in the same form and all of them works perfect, but the last
> > ones cant read.
> >
> >
> > When the form is opened all other datacontrols read the value of my
> > database but the last 4, read nothing, I tried, delete them and add new
> > ones, rename them, re-point them (change the field they see), but
> > nothing.
> >
> > I have a 12 tabs container, Don't know if that could affect the results,
> > but I even try to move the last datacontrols to other tab (actually they
> > are at last one), but nothing, the rare part its that they WRITE
> > perfectly to the database, but cant read from it.
> >
> > Is there a limit of the datacontrols for a single form? (I have a total
> > of 61 datacontrols (11x5 + 4 + 2))
> >
> > Not all the datacontrols are active (I mean in-active: field=<nothing>),
> > I "point" (change the field property) 4 or 5 per tab (I have a 12 tab
> > container) according a criteria, so even when I have 61 datacontrols,
> > only 54 are active.
>
> Yes, there is a limit 53 data controls hardcoded in the gb.db.form
> sources. :-)
>
> Seriously, you should send me your full project, with a database I can
> connect to, explain me which data controls don't work correctly, so that I
> can trace the component and fix the bug.
>
> Regards,

Send the data to my private e-mail of course, not to the mailing-list.

Regards,

-- 
Benoit Minisini




More information about the User mailing list