How to filter a child grid by using a parent combo box in Visual FoxPro (142567)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 6.0
- Microsoft Visual FoxPro for Windows 7.0
- Microsoft Visual FoxPro 8.0
- Microsoft Visual FoxPro 9.0 Professional Edition
This article was previously published under Q142567 SUMMARY
In a one-to-many relationship, you can filter child records displayed in a
grid by using the Value property of a combo box. One method is to use the
RelationalExpr and LinkMaster properties of a grid. This article gives you
another method, which uses a SET FILTER command along with a SELECT-SQL
statement as the row source of a combo box.
Modification Type: | Major | Last Reviewed: | 3/11/2005 |
---|
Keywords: | kbhowto KB142567 |
---|
|