PC Review


Reply
Thread Tools Rate Thread

Conditional Formatting with DateDiff (Access 2007)

 
 
Jeremy's Dad
Guest
Posts: n/a
 
      10th Oct 2011
I've just begin working on a database for a small non-profit and one
of the features I've been asked to include is a way to easily
distinguish those members whose membership has elapsed.

I've stumbled across the DateDiff function and believe that will work
for me in conjuction with conditional formatting.

Because of my lack of knowledge, I've done a lot of searching prior to
posting here but have yet to find any success in pointing me in the
right direction.

What I'm looking for is some material to help me learn how to properly
write the expression that will allow conditional formatting to
recognize those members whose last renewal was done more than 365 days
ago. The information is stored in a text box called txtLastRenewal
that has an input mask set to short date.

As I understand the help files, DateDiff("d", Now, txtLastRenewal)
will provide the number of days between today and whatever is in the
text box. That's great but I've not been able to find direction for
the next step which is to take action if that number is greater than
365.

Thanks for any help you can provide

G
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:36 AM.