PRB: Query Designer Does Not Add Parenthesis to CriteriaLast reviewed: December 11, 1997Article ID: Q166884 |
The information in this article applies to:
SYMPTOMSIf you enter the following example in the Grid pane of the Query Designer:
Column Criteria EmpId IN 123, 456then the following error message appears:
Missing subquery or the operator you entered requires parenthesis. CAUSEInvalid SQL syntax has been entered into the criteria cell. In SQL2, the comparison operation IN requires parenthesis around its contents:
IN (table-expression) or IN (value-list) RESOLUTIONAdd parenthesis around the table-expression or value-list before tabbing out of the field.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior
panes to the Query Designer.5. In the Grid Pane, select a field in the "Column" column, and type the following in the Criteria field: In 123, 456
REFERENCESFor the latest Knowledge Base articles and other support information on Visual InterDev and Active Server Pages, see the following page on the Microsoft Technical Support site:
http://support.microsoft.com/support/vinterdev/ Keywords : kbDtQDesigner Version : 1.0 Platform : WINDOWS Issue type : kbprb |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |