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!

need help with date in r/s 1

Status
Not open for further replies.

ncchish

Programmer
Jul 29, 2002
86
US
Can anyone tell me the correct syntax for this for the r/s? I'm using CR11. I need to get the date from 2 different sources to get accurate results. Before I was using table.DAY_REPT_DATE = {?DateRange} but in certain situations we are not getting all the data at first of month or end of month. We need to pull month, year from another sourc. Any help is appreciated. Thanks.


{table.CLNDR_MNTH},day({table.DAY_REPT_DATE}, {table.PRODYEAR}) = {?DateRange} and
 
date({table.PRODYEAR},{table.CLNDR_MNTH},day({table.DAY_REPT_DATE})) = {?DateRange}

Took me a while to figure out "r/s".

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top