Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parent combobox on child form
Message
De
28/05/2003 09:50:42
 
 
À
28/05/2003 09:28:30
Victor Verheij
International Film Festival Rotterdam
Rotterdam, Pays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00793464
Message ID:
00793478
Vues:
33
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
Fil
Voir

Click here to load this message in the networking platform