[Gambas-user] DataCombo doesn't work

Matti math.eber at ...221...
Tue Sep 1 20:13:54 CEST 2009


Benoît Minisini schrieb:

> If I remember, DataCombo only works if the primary key of the "directors" 
> table is "Directors_ID", with the same field name. Is it the case?

Too bad.
If I rename the primary key field of the lookup table to the same field name, I get the error "Cannot find 'Directors.id'".
So the primary key has to be "id".
And if I rename it to "id" (as it was before), I get this "Query failed" error. Really funny.



>> - what would be the event to react to, if the record is changed? In VB this
>> was some "RecordChanged" or so event, easy to use, but here I can't find
>> anything.
> 
> There is no such event. I agree it may be useful, so I will add it in Gambas 
> 3.

Fine.





More information about the User mailing list