![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Calendar Controls I am desperately needing some help with a calendar in my database. I have a subform that I have created and needed to add a calendar so that our Superintendents could pick a date instead of typing it. I want the calendar to disappear after entering the date but when I enter the second part of the equation, I can't enter a date at all. But if I leave the first part of the code the calendar won't disappear after entering the date. Can someone please tell me what I'm doing wrong. Private Sub cbodate_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) ocxcalendar.Visible = True ocxcalendar.SetFocus If Not IsNull(cbodate) Then ocxcalendar.Value = cbodate.Value Else ocxcalendar.Value = Date End If End Sub Private Sub ocxcalendar_Click() cbodate.Value = ocxcalendar.Value cbodate.SetFocus ocxcalendar.Visible = False End Sub Thanks so much for any help you can give |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| How move XP outlook calendar data to Vista Windows Calendar | Vista General | |||
| Sync windows live calendar with my mobile phone calendar (Sony Ericsson W890i) | Live Mail | |||
| Trans address, contacts and calendar to new microsoft mail and calendar | Vista mail | |||
| Automatic sync of Live Calendar and Windows Calendar in Vista? | Live Mail | |||
| How can I import Outlook 2003 calendar events into Vista Calendar? | Vista mail | |||