PRB: SELECT-SQL Command Ignores SET FILTER ConditionID: Q118491 The information in this article applies to:
SYMPTOMSThe SELECT-SQL command does not honor a filter condition that was established with the SET FILTER command.
CAUSEThe SELECT-SQL command operates directly against the specified tables and is therefore not influenced by the existence of a filter condition.
RESOLUTIONInstead of using SET FILTER to exclude a set of records, use the WHERE clause of the SELECT-SQL command to exclude a set of records. The following example illustrates the behavior and the resolution:
STATUSThis behavior is by design.
MORE INFORMATIONThe "SET FILTER" topic in the online Help file states that the SET FILTER command "specifies a condition that records in the current table/.DBF must meet to be accessible." The Help entry further states that "All commands that access the table/.DBF respect the SET FILTER condition." These statements are accurate for all commands except the SELECT-SQL command. The SELECT-SQL command does not honor a filter condition established with the SET FILTER command. Additional reference words: FoxMac FoxDos FoxWin 2.00 2.50 2.50a 2.50b 2.60 docerr KBCategory: kbprg kbprb kbdocerr KBSubcategory: FxprgSql |
|
Last Reviewed: June 27, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |