Dec 3, 2002 #1 shukuo Programmer Joined Feb 22, 2002 Messages 10 Location 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 Joined Mar 23, 2002 Messages 20,180 Location 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 Joined Nov 7, 2002 Messages 14 Location US thanks so much. it works, the type is "yyyy" Upvote 0 Downvote