Page 1 of 1

COMBOBOX bad behavior

Posted: Fri Sep 17, 2010 4:52 pm
by Alvaro_Naves
When using COMBOBOX linked to a two tables, as a conventional database design mode, there is a bad bahavior, as explained:

...
ITEMSOURCE DIAGP->NAMES
VALUESOURCE DIAGP->CODE
...
IF in the main table the destination field ALWAYS HAVE A VALUE, everything works well.

But if we can have a "null" value in the destination field, for instance user did not made a choice, after save and returning to this register, COMBOBOX SHOWS THE LAST REGISTER of the source table, in this case DIAGP. It should shows empty, of course.

I donĀ“t know if I was clear. Unfortunably, I tried but was not abel to undesrtand and fix the source code for COMBOBOX.

Tks for any help.

Re: COMBOBOX bad behavior

Posted: Fri Sep 17, 2010 7:18 pm
by mol
I'm realizing Combobox in HMG.4. I've still got a problem with ItemSource, but, when I solve my little problems, I'll account your suggestions.
Marek

Re: COMBOBOX bad behavior

Posted: Tue Sep 21, 2010 11:31 am
by Alvaro_Naves
HMG 4.0 is already available.
News about COMBOBOX ?

Regards