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

  • From: "Jim Pettit" <jimpettit@xxxxxxxxx>
  • To: <mso@xxxxxxxxxxxxx>
  • Date: Wed, 17 Aug 2005 10:31:23 -0700

Cathy--

Maybe the blank cells aren't really null? How about:

YRConvert:IIf(([year] Is Null) Or (Trim([year]) & "" = ""),Now(),[year])

--Jim

-----Original Message-----
From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On Behalf
Of Cathy.Evans@xxxxxxxxx
Sent: Wednesday, August 17, 2005 9:55 AM
To: mso@xxxxxxxxxxxxx
Subject: [mso] Re: Access 2002: Date Filter Formula Calculation Help Needed!


Thanks Jim . . . got 'invalid use of null', so I set up a new field to
convert any nulls to current year, but still getting all 'Yes' on the
original dates and 'No' on the converted nulls.  Alien (#!%#!*) table is a
good word and it sounds like your guess is 100% on target!!

My conversion field is: YRConvert:IIf([year] Is Null,Now(),[year]).  Am I
missing something here?

Thanks again, 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 Calculation    
                      08/17/2005 11:30 AM         Help       Needed!

                      Please respond to

                      mso
..... 
 

 



Cathy--

My gusee would be that the dates from the alien table probably aren't stored
as dates. You can try coercing the data into a date first using the Cdate
function:

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

Please let me know.

--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
*************************************************************

*************************************************************
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: