COMBOBOX bad behavior

Moderator: Rathinagiri

Post Reply
Alvaro_Naves
Posts: 5
Joined: Mon Sep 13, 2010 5:19 pm

COMBOBOX bad behavior

Post 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.
User avatar
mol
Posts: 3720
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: COMBOBOX bad behavior

Post 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
Alvaro_Naves
Posts: 5
Joined: Mon Sep 13, 2010 5:19 pm

Re: COMBOBOX bad behavior

Post by Alvaro_Naves »

HMG 4.0 is already available.
News about COMBOBOX ?

Regards
Post Reply