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 / March 2006

Tip: Looking for answers? Try searching our database.

how do I default enter last month?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Morgan - 31 Mar 2006 01:57 GMT
Hi -

I would like a text box to auto-enter the month previous to today (whenever
the form is opened).  I have been experimenting with =month([Today])-1, but
this yields the "Name?" in form view.  The format of the field is mmmm yyyy.

Thank you.
Rick Brandt - 31 Mar 2006 02:06 GMT
> Hi -
>
[quoted text clipped - 4 lines]
>
> Thank you.

Set the default value property to =DateAdd("m", -1, Date())

Signature

I don't check the Email account attached
to this message.     Send instead to...
RBrandt    at       Hunter      dot      com

KARL DEWEY - 31 Mar 2006 02:21 GMT
Put this in the Default Value --
      Format(DateAdd("m",-1,Date()),"mmmm yyyy")

> Hi -
>
[quoted text clipped - 3 lines]
>
> Thank you.
 
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.