Microsoft KB Archive/172395
Article ID: 172395
Article Last Modified on 2/24/2005
- Microsoft Visual FoxPro 5.0a
- Microsoft Data Access Components 2.5
This article was previously published under Q172395
International settings in SET POINT TO and SET SEPARATOR TO cause the following error to occur in the SQL Server Upsizing Wizard:
This error does not occur with the Upsizing wizard that shipped with Visual FoxPro 5.0.
Before running the SQL Server Upsizing Wizard, change the number settings using the following commands:
SET POINT TO "." SET SEPARATOR TO ","
If the Regional Settings of Microsoft Visual FoxPro are set to "Use System Settings," change the settings in the Number tab of the Microsoft Windows 95 or Windows NT Regional Settings Control Panel to match (without the quotes) the following:
Decimal symbol: "." Digit grouping symbol: ","
Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
Steps to Reproduce Behavior
Run the following program from a program file or the Command window:
OPEN DATABASE HOME() + "SAMPLES\DATA\TESTDATA" SET POINT TO "," SET SEPARATOR TO "." DO HOME() + "Wizards\WZUpsize.app"
The Upsizing Wizard for SQL Server appears.
- Click the database to upsize, then click Next.
- Click the appropriate data source and click Next. The SQL Server Login \ dialog box appears.
- Enter the appropriate User ID and Password then click OK. The following error appears:
This also happens if the Regional Settings in the Control Panel have the same settings for Point and Separator as listed above in Step 1.
If using the system Regional Settings, as in the second part of the Resolution Section above, the [Tools][Options][Regional] settings of Microsoft Visual FoxPro should have the "Use System Settings" option checked.
Microsoft Visual FoxPro Developer's Guide, Chapter 20, "Upsizing Visual FoxPro Databases"
Additional query words: ODBC SQL upsize wizard
Keywords: kberrmsg kbprb KB172395