PRB: Passing Variant Array to WriteFields Method Generates Error (180456)
The information in this article applies to:
- Microsoft eMbedded Visual Basic 3.0
- Microsoft Windows CE Toolkit for Visual Basic 6.0
This article was previously published under Q180456 SYMPTOMS
When a Variant array is passed as a parameter, one of the following errors
might occur:
Subscript out of range.
RESOLUTION
To work around this behavior, pass arrays without parenthesis, as follows:
File1.WriteFields sData
STATUS
This behavior is by design.
Modification Type: | Minor | Last Reviewed: | 3/11/2005 |
---|
Keywords: | kbpending kbprb kbToolkit KB180456 |
---|
|