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 for data with date less than today...

Status
Not open for further replies.

arachnoid

Programmer
Jun 14, 2002
108
US
I am trying to write a formula for a field where I am only wanting to see data that is less than the current date.

I have tried everything I know of, but all date formulas seem to ask for a number instead of simply registering the current date.

Any input will be greatly appreciated.

Thanks,
 
Try Report->Edit selection formula->Record:

{table.date} < currentdate

If the system is prompting you for a number instead of a date, then it might be stored as a number.

Right click the date field and select browse dataa, that will tell you it's type.

Rather than text descriptions, try posting:

Crystal verison
Database/connectivity used
Example dtaa
Expected output

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top