Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Showing different column in Combobox
Message
 
 
À
27/06/2004 22:51:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00917824
Message ID:
00917847
Vues:
9
Hi.
You can fill the combobox manually.
select yourcursor
scan for <your condition>
   oCombo.AddItem(<your item>)
endscan
Thus you don't have to SET RELATION

Good luck.

>I know this is very basic, but it escapes me.
>
>Cursor one has a field with a FK that points to cursor 2.
>
>A combobox has as controlsource the FK in cursor 1. Cursor 3 (derived from cursor 2) provides the rowsource of a combobox. I want the combobox to show a description, not an ID, and the dropdown to do same. Can this be done without RELATING cursor 1 to either cursor 2 or 3?
>
>TIA,
>
>Alex
A moment of silence is our cosmic reset button.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform