Microsoft KB Archive/201673

= ACC2000: "Invalid Setting in EXCEL Key...," Exporting to dBASE 5 =

Article ID: 201673

Article Last Modified on 6/29/2004

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



This article was previously published under Q201673



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

Advanced: Requires expert coding, interoperability, and multiuser skills.



SYMPTOMS
If you manually change the string "DataCodePage" in the Registry key   HKEY_LOCAL_MACHINE\Software\Microsoft\Jet\4.0\Engines\Xbase to anything other than "OEM" or "ANSI" and try to export using the dBASE 5 ISAM driver, you receive the following error message:

Invalid setting in EXCEL key of the Engines section of the Windows Registry.



CAUSE
An error is expected when you set the "DataCodePage" string value to something other than "OEM" or "ANSI," which are the only valid options; however, the error message does not refer to the correct Jet ISAM. It should be Xbase instead of Excel.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



Steps to Reproduce Problem
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

 Click Start, and then click Run. In the Run box, type regedit and then click OK. In the Registry Editor, expand the following registry key:

HKEY_LOCAL_MACHINE\SoftWare\Microsoft\Jet\4.0\Engines\Xbase

 In the right pane, double-click the string value "DataCodePage." Change the value for string "DataCodePage" to "International" (without the quotation marks) and click OK.</li> Close the Registry editor.</li> Open the sample database Northwind.mdb.</li> Click the Categories table and on the File menu, click Export.</li> In the Export dialog box, click the arrow in the Save as Type box, and select dBASE 5. Click Save.</li></ol>

Note that you receive the error described in the "Symptoms" section of this article.

<div class="references_section">