[mso] Re: Access 2002: Date Filter Formula Calculation Help Needed!

  • From: Cathy.Evans@xxxxxxxxx
  • To: mso@xxxxxxxxxxxxx
  • Date: Thu, 25 Aug 2005 12:32:49 -0400

Jim, just wanted to let you know, I was able to go back to the original
data source and find a field that was properly formatted that also
contained the year I needed.  With that data, your solution below worked
perfectly.  Never could find out what the original data format and after
everyone's help here, still wasn't able to force it into any kind of
format, so I gave up on that field and went back to the source to get a
better one!  Thank you, Cathy



                                                                                
                           
                      "Jim Pettit"                                              
                           
                      <jimpettit@xxxxxxxx      To: <mso@xxxxxxxxxxxxx>          
                           
                      m>                                                        
                           
                      Sent by:                 cc:                              
                           
                      mso-bounce@freelist                                       
                           
                      s.org                    Subject:  [mso] Re: Access 2002: 
Date Filter Formula        
                      08/17/2005 09:48 AM         Calculation Help Needed!      
                           
                      Please respond to                                         
                           
                      mso                                                       
                     ..... 
                                                                                
                           
                                                                                
                           


Cathy--

You gotta love the DateDiff function. Give this a try:

DataFilter: Iif(DateDiff('yyyy', [Year], Now()) > 2, "Yes", "No")

--Jim






-----------------------------------------------------------------------------------------------------
The information transmitted is intended only for the person
or entity to which it is addressed and may contain proprietary,  
business-confidential and/or privileged material.
If you are not the intended recipient of this message you 
are hereby notified that any use, review, retransmission, 
dissemination, distribution, reproduction or any action taken
in reliance upon this message is prohibited. If you received
this in error, please contact the sender and delete the 
material from any computer.  Any views expressed in this message
are those of the individual sender and may not necessarily reflect 
the views of the company.  
-------------------------------------------------------------------------------------------------------

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: