|
-
Oct 20th, 2003, 06:32 AM
#1
Thread Starter
Hyperactive Member
Calendar
I work on Access. I have a MS Calendar Control and two text boxes. When I click on the Calendar control, I should get the date displayed in the text box on which the cursor is. Is this possible?
Thanks in advance.
-
Oct 20th, 2003, 09:27 AM
#2
Hyperactive Member
well when you click on the calendar control no textboxes will have the focus but you can assign the value of the calendar control to a textbox on each click if you like.
Private Sub ActiveXCtl0_click()
Text1 = ActiveXCtl0
End Sub
for example.
-
Oct 21st, 2003, 12:04 AM
#3
Thread Starter
Hyperactive Member
But I have two text boxes from which I get the beginning date and the ending date. The code you gave is applicable only for one text box. How do I set the second text box?
Thanks.
-
Oct 21st, 2003, 08:00 AM
#4
Hyperactive Member
Where is the second date coming from?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|