Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / April 2004

Tip: Looking for answers? Try searching our database.

Dates on a form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Box 666 - 30 Apr 2004 01:50 GMT
I want to have an unbound text box that will always display last months date
in the form of

"figures for the month of " March
or
"figures as at "31st March

where March is always the previous month to the current date

with thanks
Bob
Van T. Dinh - 30 Apr 2004 03:09 GMT
Set the ControlSource of the TextBox to:

   = "Figures for the month of " & Format(Date(), "mmmm")

Signature

HTH
Van T. Dinh
MVP (Access)

> I want to have an unbound text box that will always display last months date
> in the form of
[quoted text clipped - 7 lines]
> with thanks
> Bob
Van T. Dinh - 30 Apr 2004 03:44 GMT
Sorry. My answer was mistakenly done for current month.

See Fred's answer for last month.

Signature

HTH
Van T. Dinh
MVP (Access)

> Set the ControlSource of the TextBox to:
>
>     = "Figures for the month of " & Format(Date(), "mmmm")
fredg - 30 Apr 2004 03:15 GMT
> I want to have an unbound text box that will always display last months date
> in the form of
[quoted text clipped - 7 lines]
> with thanks
> Bob

="Figures for the month of " & Format(DateAdd("m",-1,Date()),"mmmm")
Signature

Fred
Please only reply to this newsgroup.
I do not reply to personal email.

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.