Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box
Message
De
09/09/1999 15:48:59
 
 
À
09/09/1999 15:26:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00263092
Message ID:
00263113
Vues:
18
>Hi all:
>
>I have two tables with a one to many relationship. when i am on the parent table record i want a combo box to show only the corresponding records of the child table. Is there a property to filter out non related records
>

Why not populate it off a parameterized view with a field list (rowsourcetype = 6), and requery the p-view when the parent's record pointer moves? You'll want to incorporate logic to set the form's lockscreen property, set the combo's rowsourcetype to 0 momentarily, requery the p-view with the new key value in place, reset the rowsourcetype to 6 (fields) and respecify the rowsource property before resetting the lockscreen value of the form.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform