PRB: Invalid Data Type for This Property ErrorID: Q128156 3.00 WINDOWS The information in this article applies to:
SYMPTOMSUnder program control, the 'Invalid Data Type for This Property' error is returned when an object is instantiated or a form is executed.
CAUSEThe value entered for the property is of the wrong type. This error is likely to occur with properties that evaluate data. For example, the CONTROLSOURCE property specifies the source of data for a control. The control being defined determines what type of data can be used. However, the CONTROLSOURCE property only accepts character strings. For example,
WORKAROUNDEnsure that you are using the correct type for the expression you enter.
STATUSThis behavior is by design.
MORE INFORMATIONThe following is a partial list of properties that accept character data that may evaluate to another type. For more information, please refer to the FoxPro Help menu. - Properties of a Grid:
- Properties of a column:
- Properties of a combo box or a list box:
Additional reference words: 3.00 VFoxWin
KBCategory:
KBSubcategory: FxprgClassoop
|
Last Reviewed: May 22, 1998 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |