Q+E Err Msg: Incompatible Datatypes in ExpressionLast reviewed: November 2, 1994Article ID: Q72771 |
Summary :
When using the dBASE driver in Q+E for Microsoft Excel version 3.0, you will receive the error message "Incompatible Datatypes in Expression" when attempting to create an index on multiple fields that are not of the same defined type.
MORE INFORMATIONWhen creating an index with multiple fields, the fields must be of the same defined type, or must be converted into a compatible type using a supported dBASE function. This is identical to the way dBASE creates index files.
Steps to Reproduce Problem
To properly create the index, edit the Expression Box and use the dBASE function DTOS around the HIRE_DATE field. For example, the following will convert the DATE field into a character string and the index will be created:
DTOS(HIRE_DATE)+LAST_NAMENumeric and logical fields should also be converted when being used with character fields. Reference(s) "Q+E for Microsoft Excel's User's Guide." Version 3.0, pages 120-121, 131-132. "dBASE III Plus," Douglas Hergert, page 215.
|
KBCategory: kbother
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |