Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox con tablas
Message
De
05/04/2003 16:27:58
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
04/04/2003 11:27:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00774063
Message ID:
00774475
Vues:
14
>I have a table with this structure
>
>Table Name Test
>Name C(20)
>Id I
>
>Data
>Name Id
>Number 1 1
>Number 2 2
>Number 3 3
>
>I bind a table in a combobox
>
>Poperties from combo
>
>BoundColumns = 2
>BountTo = .T.
>Rowsource = "Test"
>RowSourceType = 2
>ControlSource = "ThisForm.ValueTest"
>
>
>Value from ThisForm.ValueTest = 0
>
>Why i can't select an item in this combo ??? The property valuetest is defined in form the form test
>
>Thanks
>
>Miguel

I usually use RowSourceType = 6, but I think option 2 should work similarly.

Try setting RowSourceType = 6, and set RowSource to something similar to "Test.Field1, Field2" (include the alias, "Test", only in the first field).

Regards, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform