Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parent combobox on child form
Message
From
28/05/2003 09:50:42
 
 
To
28/05/2003 09:28:30
Victor Verheij
International Film Festival Rotterdam
Rotterdam, Netherlands
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00793464
Message ID:
00793478
Views:
34
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform