Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update a form field by clicking a calendar on the same form

Status
Not open for further replies.

Asolandri

Programmer
May 3, 2005
3
0
0
US
Hi all,

Sorry for the newbie question, here is the scenario:

I have a form that runs a query when a button is pushed. The query uses the values keyed into a begin date and an end date from the form as selection criteria. I would like to insert a calendar on to the form and allow the user to click it updating the begin and end dates, toggling between the 2 and starting with the begin date. Help please =)
 

In my Access 2000 toolbox there is an ActiveX control
[MSCAL.Calendar.7], the Calendar Control 9.0

You could use the ActiveXCtl0_AfterUpdate() event to write your code like

txtToday.Text = Day(ActiveXCtl0.Value)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top