Solved

Use calendar control to populate a text box

Posted on 2012-04-03
7
408 Views
Last Modified: 2012-04-10
I have an ACCESS 2003 form with a calendar contorl, Calendar1.  When the user clicks on a date, I want that date toappear in a text box.  I tried using the On Updated event in the Calendar control, but that did not change the date in the text box.  So, how is this control used?

Sandra
0
Comment
Question by:ssmith94015
7 Comments
 
LVL 22

Expert Comment

by:plusone3055
ID: 37803450
0
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 300 total points
ID: 37803505
0
 
LVL 74

Assisted Solution

by:Jeffrey Coachman
Jeffrey Coachman earned 200 total points
ID: 37804340
ssmith94015,

Is the code you tried a secret?
;-)
Why not post it so we can see what you may have done wrong...?
Is the Calendar on a separate popup form, or is it on the same form as the textbox?
...etc

This is typically done on the "AfterUpdate" event of the calendar control (not the "On updated" event)

This works fine for me...
AccessSimpleCalendarContolOnForm.mdb
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

Author Comment

by:ssmith94015
ID: 37807277
No, the code is not a secret, I just thought it gave enough information.  Am going to try both sample suggestions later today.  Just tired...

Sandra
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 37809188
But investigate the samples that capricron1 and I posted first, to see if they resolve your issue.
0
 

Author Comment

by:ssmith94015
ID: 37820228
Have not forgotten, users have a problem with a databsae I am unfamiliary with so resolve.  Will return to this issue Monday.

Sandra
0
 

Author Closing Comment

by:ssmith94015
ID: 37829616
THey both worked, but wound up using Capricorn's.  So split a bit.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

MS Access 2003 or later To MySQL Migration Project Hello All, this is my second article in the category of MS-OFFICE Automation. In internet I am not able to find any comprehensive resource on the Migration of MS Access back-end to MySQL so I fin…
We were having a lot of "Heartbeat Alerts" in our SCOM environment, now "Heartbeat" in a SCOM environment for those of you who might not be familiar with SCOM is a packet of data sent from the agent to the management server on a regular basis, basic…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now