ACC1x: Where Condition Refers to Fields, Not to ControlsLast reviewed: April 2, 1997Article ID: Q103140 |
The information in this article applies to:
SYMPTOMSOn page 348 of the Microsoft Access "Language Reference" manual, the description for the action argument Where Condition reads:
To open a form in which the value of one of its controls equals the value of a control on another form, use this syntax: [controlname on opened form] = Forms!formname![controlname on other form] RESOLUTIONThe description for the action argument Where Condition on page 348 should read:
To open a form and show only records where one of the fields matches the value of a control on another form, use this syntax: [field in opened form's recordsource] = Forms!formname![controlname on other form] MORE INFORMATIONThe action argument Where Condition is used to filter the records in the form's dynaset. Microsoft Access compares the specified fields in each record on the form being opened to the controls on the original form. Records on the form being opened will be included in the dynaset only if the record's fields satisfy the Where Condition argument. The steps below demonstrate the correct use of the Where Condition argument:
REFERENCESMicrosoft Access "Language Reference," page 348 |
Keywords : FmsProp kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |