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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access dates

Status
Not open for further replies.

neilmcmor

Technical User
Aug 9, 2007
30
GB
I have tried to find the solution to this on the Internet but cannot find anything to help. I have a date field showing on a form. When a users enters a date I want another field to automatically display the day, i.e Mon, Tues etc. Is this possible?
 
A starting point.
In the AfterUpdate event procedure of the date control:
Code:
If IsDate(Me![date control]) Then
  Me![day control] = Format(Me![date control], "ddd")
End If

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top