Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date Formula - Should I use the Absolute (ABS) syntax?

Status
Not open for further replies.

acr1

Programmer
Oct 12, 2001
73
NZ
Hi Team

I have a formula below that works as I need to find dates greater than one year...but I also need it to calculate when the PURCDATE is greater than the ACQDATE as well....
as i have some PURCDATE fields (1988 - later) and some ACQDATE fields (1975 - earlier)

Should I use ABS?

Current formula is as follows:

{COMPEQ.PURCDATE}<>{ASSVALUE.ACQDATE} and
(({COMPEQ.PURCDATE} + 366)>{ASSVALUE.ACQDATE}) and
IsNull({COMPEQ.EXPDATE}) = True

Any help a.s.a.p would be greatly appreciated..

TIA
Angus





 

Hi Ravi

Thanks for your reply...but looking at the numerable ways to use DateDiff an example if possible would help..

TIA
Angus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top