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 / Queries / September 2006

Tip: Looking for answers? Try searching our database.

Help!  How do you calculate days within two date fields

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rose - 30 Sep 2006 05:14 GMT
I am working with a Microsoft Access Database helping a non profit
organization try to figure out how many nights in a month people are staying
in there shelter.  I have two fields a Check In Date and Check Out Date
Field.  Therefore to figure out the nights a person stayed, I minus the Check
Out by the Check In Date.  

The problem is if they check in the prior month, let’s say February and
checked out in March, How I can I calculate just the days in March.  The
other problem is if they checked in March and have not checked out yet (null
field), how do I calculate the number of days in March.  This is time
sensitive any assistance anyone can give is greatly appreciated.
Duane Hookom - 30 Sep 2006 05:33 GMT
At least one answer in tables design where you asked the same question.
Please post your questions to a single news group.

Signature

Duane Hookom
MS Access MVP

>I am working with a Microsoft Access Database helping a non profit
> organization try to figure out how many nights in a month people are
[quoted text clipped - 10 lines]
> field), how do I calculate the number of days in March.  This is time
> sensitive any assistance anyone can give is greatly appreciated.
MGFoster - 30 Sep 2006 20:13 GMT
> I am working with a Microsoft Access Database helping a non profit
> organization try to figure out how many nights in a month people are staying
[quoted text clipped - 7 lines]
> field), how do I calculate the number of days in March.  This is time
> sensitive any assistance anyone can give is greatly appreciated.

It wud help if you'd show the table structure you are working with and
some sample data.  Any solution anybody provides will be only guess work.
Signature

MGFoster:::mgf
Oakland, CA (USA)
** Respond only to this newsgroup.  I DO NOT respond to emails **

 
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



©2010 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.