dbTalk Databases Forums  

Date Formula - Days past due.

comp.database.ms-access comp.database.ms-access


Discuss Date Formula - Days past due. in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
di
 
Posts: n/a

Default Date Formula - Days past due. - 04-29-2004 , 11:01 PM






#1. I have a payments schedule for customer #1.

I want to find the customers most recent payment date.
then I want to calulcate that.

#2. Example: date of payment less todays date = number of days.


Say I want to sent reminders out that are past due 45 days.
(I know I want to put the criteria to be "> 45". I am not a
programmer so need it to apply to a criteria in a query.

Thanks much.

Reply With Quote
  #2  
Old   
Ray
 
Posts: n/a

Default Re: Date Formula - Days past due. - 04-30-2004 , 08:31 AM






direiter (AT) charter (DOT) net (di) wrote in message news:<9b1c868a.0404292001.1dab0d0c (AT) posting (DOT) google.com>...
Quote:
#1. I have a payments schedule for customer #1.

I want to find the customers most recent payment date.
then I want to calulcate that.

#2. Example: date of payment less todays date = number of days.


Say I want to sent reminders out that are past due 45 days.
(I know I want to put the criteria to be "> 45". I am not a
programmer so need it to apply to a criteria in a query.

Thanks much.
Hello,

Perhaps you can check into the DateDiff() Function and put
the following data into your query to display the total
days involved.

Example:

DaysElapsed: DateDiff("y", [txtRecentPayment], Date())

txtRecentPayment is the field which has your required
information, and the Date() function is the current
computer date on your system. Both are compared which
result in the total number of Days different.

Regards,

Ray


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.