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

Static Date Range

Status
Not open for further replies.

itguymike

Technical User
May 27, 2005
28
US

i want to use a static date range on a exp date report for products. i have the following:
{TRACE.EXPIRATION_DATE} in (CurrentDate) to (CurrentDate+14)

when i add it to the report i get only no records. if i create a parameter for a date range and use that instead it gives me pages of expiration dates between the variable dates. what am i doing wrong on the static formula? any ideas?

thanks for your help
 
I don't see anything wrong. Try this: date({TRACE.EXPIRATION_DATE}) in (CurrentDate) to (CurrentDate+14)


It may not let you do that, depends on the field type.
 
ran it with the new code and it showed 2 items only. the exp dates of the product that showed was 7/15/14
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top