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.
COMBOBOX bad behavior
Moderator: Rathinagiri
Re: COMBOBOX bad behavior
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
Marek
-
- Posts: 5
- Joined: Mon Sep 13, 2010 5:19 pm
Re: COMBOBOX bad behavior
HMG 4.0 is already available.
News about COMBOBOX ?
Regards
News about COMBOBOX ?
Regards