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

Last7Days, what about 10 days or 15 1

Status
Not open for further replies.

cjbrown815

IS-IT--Management
Mar 2, 2006
525
US
Hi,
CRXIr2, SQL 2000, XP Pro

There is a predefined function for Last7Days, can I change that to 10 days or 15?

Thanks

-CJ
 
No, but the following works fine:

(
{table.date} >= currentdate-9
and
{table.date} <= currentdate
)

Adjust the -9 accordingly.

-k
 
It says my formula result must be a string. To my knowledge thats a date field

-CJ
 
It says data type is datetime in enterprise manager.

-CJ
 
Where are you placing the formula?

It should be in Report->Selection formula->Record

-k
 
thanks a bunch Syn, your one of the best

-CJ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top