BUG: AppWizard and Table with Many Columns May Cause ErrorLast reviewed: July 22, 1997Article ID: Q113246 |
1.50
WINDOWS
kbtool kbbuglist
The information in this article applies to:
SYMPTOMSAppWizard issues the following error message when trying to create a database application that uses a database table containing a large number of fields (number of fields varies depending on the field name lengths):
Not enough memory to complete operation.AppWizard may also cause the Visual Workbench to hang in this situation.
RESOLUTIONThe workaround is to use AppWizard to generate a "database enabled" application. This is accomplished by using another table within the same data source as the table with many columns. However, this other table, henceforth referred to as the "proxy," does not cause AppWizard to fail when generating the application. After the application has been successfully generated, ClassWizard is then used to modify the code to use the table with many columns instead of the proxy. One other change also requires the modification of a single line of code. The following is a step-by-step approach to using this technique:
STATUSMicrosoft has confirmed this to be a bug in the 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.
MORE INFORMATIONFor information about adding additional CRecordset and CRecordView classes, see Chapter 9 of the App Studio "User's Guide." Also see the section titled "Creating a Recordset for the Course Table" in Chapter 4 of "Database Classes," "Part 1: Database Tutorial."
Steps to Reproduce the ProblemThe following steps show how the problem can be produced:
|
Additional reference words: 1.50 enough memory hang datasource mfc
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |