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 / Forms / December 2007

Tip: Looking for answers? Try searching our database.

Calendar To Stay at Last Date Entered

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bill - 19 Dec 2007 22:32 GMT
I have a calendar in a form.  We do data entry for information that could
have occurred today, yesterday, or a couple of days ago, like over a weekend.
The form always goes back to todays date.  How do I get the calendar to stay
at the last date entered?
ruralguy - 19 Dec 2007 22:47 GMT
Somehow you will need to record the last date entered in a table somewhere.
I use a system table for such items.

>I have a calendar in a form.  We do data entry for information that could
>have occurred today, yesterday, or a couple of days ago, like over a weekend.
> The form always goes back to todays date.  How do I get the calendar to stay
>at the last date entered?

Signature

RuralGuy (RG for short) aka Allan Bunch MS Access MVP - acXP WinXP Pro
Please post back to this forum so all may benefit.

Bill - 20 Dec 2007 18:01 GMT
I tried to add code to go to table, but it doesn't pull the last date.  It
pulls a date two months ago.  The code I wrote is:
Me!calsetdate.value = dlast("[INDEX_DATE]", "tblPROD_DATA")

The field is INDEX_NO
The table is tblPROD_DATA

I have this code once the form opens.  Shouldn't it pull the last date in
the table?

> Somehow you will need to record the last date entered in a table somewhere.
> I use a system table for such items.
[quoted text clipped - 3 lines]
> > The form always goes back to todays date.  How do I get the calendar to stay
> >at the last date entered?
ruralguy - 20 Dec 2007 20:52 GMT
If it is the newest date then use DMax().

>I tried to add code to go to table, but it doesn't pull the last date.  It
>pulls a date two months ago.  The code I wrote is:
[quoted text clipped - 11 lines]
>> > The form always goes back to todays date.  How do I get the calendar to stay
>> >at the last date entered?

Signature

RuralGuy (RG for short) aka Allan Bunch MS Access MVP - acXP WinXP Pro
Please post back to this forum so all may benefit.

 
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.