ADT/ODE: Calendar Control Cannot Format Individual DatesLast reviewed: October 20, 1997Article ID: Q114832 |
The information in this article applies to:
SYMPTOMSModerate: Requires basic macro, coding, and interoperability skills. In the Calendar control included with Microsoft Access 97, Microsoft Access for Windows 95 version 7.0, and the Microsoft Access Developer's Toolkit (ADT) versions 2.0 and 7.0, you can change the formatting of all the text, but you cannot change the formatting of individual dates.
CAUSEThis is a design limitation of the Calendar control.
RESOLUTIONThis article assumes that you are familiar with Visual Basic for Applications and with creating Microsoft Access applications using the programming tools provided with Microsoft Access. For more information about Visual Basic for Applications, please refer to your version of the "Building Applications with Microsoft Access" manual. NOTE: Visual Basic for Applications is called Access Basic in Microsoft Access version 2.0. For more information about Access Basic, please refer to the "Building Applications" manual. A workaround for this behavior is to use a text box on your form that reflects the date selected in the Calendar control. The following example demonstrates how to create such a text box:
STATUSChanges to the Calendar control are being reviewed and will be considered for possible inclusion in a future release of the Microsoft Office Developer Edition Tools.
REFERENCESFor more information about the Calendar control, search the Help Index for "calendar control," or ask the Microsoft Access 97 Office Assistant. Keywords : IntpOle kbusage Version : 2.0 7.0 97 Platform : WINDOWS Hardware : x86 Issue type : kbprb |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |