Dec 3, 2002 #1 shukuo Programmer Feb 22, 2002 10 US HI. I am trying to retrieve records between {@post_date} in {?BeginDate} to {?EndDate} or {@post_date} in {?BeginDate} to {?EndDate} and the previous year of beingdate and enddate, is there any quick function to do this ? thanks.
HI. I am trying to retrieve records between {@post_date} in {?BeginDate} to {?EndDate} or {@post_date} in {?BeginDate} to {?EndDate} and the previous year of beingdate and enddate, is there any quick function to do this ? thanks.
Dec 3, 2002 #2 synapsevampire Programmer Mar 23, 2002 20,180 US {@post_date} in dateadd("y",-1,{?BeginDate}) to dateadd("y",-1,{?EndDate}) Check the syntax, I don't have Crystal here, I'm going from memory. -k http://www.informeddatadecisions.comkai@informeddatadecisions.com Upvote 0 Downvote
{@post_date} in dateadd("y",-1,{?BeginDate}) to dateadd("y",-1,{?EndDate}) Check the syntax, I don't have Crystal here, I'm going from memory. -k http://www.informeddatadecisions.comkai@informeddatadecisions.com
Dec 3, 2002 #3 kuo Programmer Nov 7, 2002 14 US thanks so much. it works, the type is "yyyy" Upvote 0 Downvote