DOCERR: Error in Code Sample for ColContaining MethodLast reviewed: June 28, 1996Article ID: Q153056 |
The information in this article applies to:
SYMPTOMSThe code sample for the ColContaining Method shown in the Visual Basic Language Reference and Online Help is not correct and does not work. The line is highlighted with the following message:
Expected End of Statement. CAUSEThe argument for the ColContaining method should be enclosed in parentheses.
WORKAROUNDEnclose the argument in parentheses. The argument should be the following:
ColValue = DBGrid1.ColContaining (X) |
Additional reference words: 4.00 vb4win vb4all
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |