Microsoft KB Archive/155370

= FIX: Wizards May Display Invalid Table Names for CRecordset =

Article ID: 155370

Article Last Modified on 12/2/2003

-

APPLIES TO

 The AppWizard, when used with:  Microsoft Visual C++ 4.2 Professional Edition

 Microsoft Visual C++ 4.2 Enterprise Edition

 Microsoft Visual C++ 5.0 Learning Edition 

-

<div class="notice_section">

This article was previously published under Q155370

<div class="symptoms_section">

SYMPTOMS
When selecting ODBC database support in the AppWizard or ClassWizard, the list of table names contains entries that are invalid.

<div class="cause_section">

CAUSE
AppWizard and ClassWizard incorrectly handle table names.

<div class="resolution_section">

RESOLUTION
A possible workaround to this problem is to create your recordsets using an alternate datasource, such as an Access MDB file, which contains the same table and column definitions as your original datasource. Then change your code to access the correct datasource instead.

If your table names contain 30 characters or more, it may help to rename them to have fewer than 30 characters.

<div class="status_section">

STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was corrected in Microsoft Visual C++, version 5.0.

Additional query words: SQL Server

Keywords: kbbug kbfix kbvc500fix kbwizard KB155370

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.