Information générale
Catégorie:
Codage, syntaxe et commandes
A possible solution is to set the column width to "0" for the column(s) you do not want displayed in the combo box. You use the "columnwidths" property. The property is found in the layout tab of your properties form. The syntax would be: "0,100" In this instance, the first colum is the bound column and would not be displayed since it's width is zero. The second colum is the one that is displayed.
>i've got a form based on a child table
>on which i have a combobox with values from a parent table
>
>When I build the combobox with columns parent.id,cTitel and bind the first column,
>the correct id from the parent table will be saved into the child table.
>
>The consequence of this is that the value shown in the combobox is the numeric id in the child table
>
>Is it possible to still get the parent.id value written to the child table but show the corresponding parent.cTitel value in the combobox.
>
>
>tia.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement