BUG: AddProperty Fails With Initial Value of Type Currency (190238)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q190238 SYMPTOMS
When you call the AddProperty method of an object and pass an initial value
of type currency, you may receive the following error when the AddProperty
executes:
Unrecognized command verb.
RESOLUTION
To work around this behavior, you can pass the initial value as a named
expression or pass a variable containing the initial value, as follows:
oCst.AddProperty("currencyvalue",($0))
NOTE: Note the added parentheses around the currency value.
yCurVal = $0
oCst.AddProperty("currencyvalue", yCurVal)
NOTE: The initial value is passed as a variable.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. We are researching this bug and will post
new information here in the Microsoft Knowledge Base as it becomes
available.
REFERENCES
Visual FoxPro Help file; search on: "AddProperty"
Modification Type: | Major | Last Reviewed: | 12/11/1999 |
---|
Keywords: | kbbug KB190238 kbAudDeveloper |
---|
|