Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying only child records in a combobox
Message
 
To
28/05/1998 16:54:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00102883
Message ID:
00102898
Views:
32
>>I would like to have a have a combobox set in dropdown list format display only rows belonging to the child records of the parent table. I am trying to select an active account and then display all patients belonging to this account with a combobox.
>>
>>I can do this with a filter - but it is slow. Any ideas would be appreciated.
>>Thanks in advance.
>
>Select appropriate child records into cursor and use it as Combo.Rowsource

Or use a parameterized view as Combo.RowSource
* account changed
=Requery("PatientsView")
thisform.Combo.Requery()
thisform.Combo.Refresh()
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform