PRB: Data Object Wizard Fails If Field Names Contain Spaces (190112)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q190112 SYMPTOMS
When you run the Data Object Wizard against a Data Environment Command
object, you may receive the following error message:
The field 'xxx yyy' has a space in it. You cannot select a Command where
a field has a space in its name.
CAUSE
This error occurs because the Data Object Wizard creates methods
corresponding to field names, and method names cannot contain spaces in
them.
RESOLUTION
Rename fields to eliminate spaces, or base the Command on a SELECT
statement where the field names are aliased to remove spaces.
STATUS
This behavior is by design.
Modification Type: | Minor | Last Reviewed: | 4/18/2003 |
---|
Keywords: | kbprb KB190112 |
---|
|