BUG: Error C2065: 'DDX_FieldDateTimeCtrl': Undeclared Identifier
Article ID: 195073
Article Last Modified on 9/22/2003
APPLIES TO
- Microsoft Visual C++ 6.0 Enterprise Edition
- Microsoft Visual C++ .NET 2003 Standard Edition
- Microsoft Visual C++ .NET 2002 Standard Edition
This article was previously published under Q195073
SYMPTOMS
When using the Date Time Picker Control in a Microsoft
Visual C++ 6.0 AppWizard (exe) Database project, you may receive the following
error:
Compiler Error "Error C2065:
'DDX_FieldDateTimeCtrl' : undeclared identifier"
CAUSE
The database dialog data exchange cover routine generated
by the Microsoft Visual C++ 6.0 AppWizard for exchanging data between the Date
Time Picker control and the recordset member variable is DDX_FieldDateTimeCtrl(
). This function is omitted from the Visual C++ 6.0 release code.
RESOLUTION
Replace the database dialog data exchange cover routine
DDX_FieldDateTimeCtrl( ) with the AFXAPI DDX_DateTimeCtrl( ). Remove the fourth
parameter in the DDX_DateTimeCtrl() call.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft
products listed at the beginning of this article.
Additional query words: msvc
Keywords: kbbug kbdatabase kbpending KB195073