Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Normalized data and grids.. HELP!
Message
 
À
02/09/1996 15:27:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00007149
Message ID:
00007152
Vues:
39
>Please forgive me if this has been addressed before but:
>
>In this example I have two tables.
>
>Table 1 looks kinda like this:
>
>Company Price Qty
>0001 5.00 100
>
>Table 2 looks kinda like this:
>
>Company Description
>0001 Johnson Widget Emporium
>0002 Phil's House of Steaks
>
>As you can see, I link the two tables via the Company field. The problem I am having is that I want to put table 1 into a grid and then have the user see the Description field of table2. When the focus comes to the company field I want to have a drop down list of the available companies from table 2. How do I do this??? I am stumped at the moment and could use some friendly help!
>
>Thanks!
>Keith

You can run an SQL for unigue values. Make your ListBox data source 'SQL'. This way only the results of the SQL are shown. This is one of several ways.

HTH,
Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform