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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

No date blank Continued...

Status
Not open for further replies.

Snookless

Technical User
Mar 17, 2003
34
BR
Hello all,
Taking the current date and subtracting another date field, if the result is negative I would like to see the word "Expired", is this possible and how?
Thank you,
Snookless
 
Create a formula containing something like:

If currentdate - table.datefield} < 0 then
&quot;Expired&quot;
else
totext(currentdate - table.datefield}) + &quot;days difference&quot;

-k
 
Yes
Create formula
@Expire

if
totext({currentdate} - {field_date})= &quot;0&quot;
then &quot;Expired&quot;
cheers

pgtek
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top