Feb 18, 2003 #1 Rangie MIS Aug 7, 2001 8 AU The YTD formula's currently work on a Jan-Dec Year. How can I change this to default to Jul-Jun.
Feb 18, 2003 #2 goranm Programmer Dec 18, 2001 247 SE Hi! Create a formula as below, and then reference it in the record selection criteria: //@StartDate: If (Month(CurrentDate) < 7) Then DateTime(Year(CurrentDate)-1,7,1,0,0,0) else DateTime(Year(CurrentDate),7,1,0,0,0) Record Selection Criteria: {Table.Date} >= @StartDate This will pass the SQL to the database. /Goran Upvote 0 Downvote
Hi! Create a formula as below, and then reference it in the record selection criteria: //@StartDate: If (Month(CurrentDate) < 7) Then DateTime(Year(CurrentDate)-1,7,1,0,0,0) else DateTime(Year(CurrentDate),7,1,0,0,0) Record Selection Criteria: {Table.Date} >= @StartDate This will pass the SQL to the database. /Goran