Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Calendar Controls

Reply
 
Old 06-05-2008   #1 (permalink)
Building Buildings


 
 

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 SpecsSystem Spec
Reply

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


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46