PRB: SET FILTER Command Behaves Differently in a Method or Event (176657)
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 5.0a
This article was previously published under Q176657 SYMPTOMS
When you use the SET FILTER command to control data while in a form, most
of the objects in the form disappear or do not display data properly after
the SET FILTER command is issued. This problem occurs when you use a
variable in the evaluation clause of the SET FILTER command and the command
is executed in an object's method or event. Text and combo boxes may
disappear while grids and list boxes do not show any records. Tabbing or
clicking the location of the objects on the form restores them to their
original values.
CAUSE
When you use a variable in a method or event, the variable goes out of
scope unless the variable was available before the form was run.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 5/10/2003 |
---|
Keywords: | kbprb KB176657 |
---|
|