PRB: Syntax Error When Convert 2.x Screen That Has a Spinner (140223)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
This article was previously published under Q140223 SYMPTOMS
When you convert a screen from a earlier version of FoxPro to Visual FoxPro
and that screen has a spinner on it, the screen will finish converting and
then display "Syntax error" if the SET POINT command is set to a comma in
Visual FoxPro.
When the error is displayed, you might think that the screen did not finish
converting. However, the screen has indeed finished converting; it just
cannot be run, even if you set the SET POINT command back to the default of
a period.
CAUSE
When the SET POINT TO command is set to a comma, it places a comma in the
Increment and Value properties line in the Properties field of the .scx
file. Visual FoxPro requires a period in that field and changes it to a
comma in the spinner when the form is run.
RESOLUTION
Set the SET POINT TO command to a period before converting the form, and
then set it back to a comma after the conversion takes place.
To correct a converted form that has the problem, you must open the form as
a table and modify the properties memo field of the spinner. The Increment
and Value properties will have a comma in the numeric number that is
assigned to them. Replace the comma with a period and the form can be
modified or run.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 3/10/2000 |
---|
Keywords: | kbprb KB140223 |
---|
|