PRB: Structure Contains Underscore When Running Crosstab (138978)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
This article was previously published under Q138978 SYMPTOMS
When you run the Crosstab option in a query, special characters show up
such as an underscore character for the name of the field. Special
characters specified here are "~`!@#$%^&*()+{}[ ]\"':;?/>.<,". This only
happens if the special character is located in one of the fields of the
table that is queried.
CAUSE
The reason this happens is that the Query Builder cannot place a special
character in the structure of the query or table that is created when the
query is run. The only special character that is allowed in the structure
of a query or table is the underscore character. It takes the place of any
of the other special characters when the crosstab creates a new field from
the contents of the original field. For example, if a field in the table
has a percent sign (%) in it and nothing else, the name of the field in the
query or table will be C_. The C means character, and the underscore takes
the place of the percent sign. If the field contains any regular character
plus a special character, such as ABC#, the field name will be Abc_.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 2/11/2000 |
---|
Keywords: | KB138978 |
---|
|