Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box
Message
From
09/09/1999 15:48:59
 
 
To
09/09/1999 15:26:36
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00263092
Message ID:
00263113
Views:
20
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform