Version: Crystal 10
Database: SQL
I currently have a report that uses:
{Deal_Jacket.title_comp_pend} in cdatetime(year(currentdatetime),month(currentdatetime),day(currentdatetime-1),7,0,0) to cdatetime(year(currentdatetime),month(currentdatetime),day(currentdatetime),7,0,0)
- In order to select between 7:00AM yesterday and 7:00AM today.
The problem is that this formula will not work on the First of the Month. For example, today (March 1st) it select a date range of (3/28/2005 to 3/1/2005) due to the simplistic subtraction of the day-1.
I think this is beyond my current skills to get this done. Any help greatly appreciated!!
Dave
Database: SQL
I currently have a report that uses:
{Deal_Jacket.title_comp_pend} in cdatetime(year(currentdatetime),month(currentdatetime),day(currentdatetime-1),7,0,0) to cdatetime(year(currentdatetime),month(currentdatetime),day(currentdatetime),7,0,0)
- In order to select between 7:00AM yesterday and 7:00AM today.
The problem is that this formula will not work on the First of the Month. For example, today (March 1st) it select a date range of (3/28/2005 to 3/1/2005) due to the simplistic subtraction of the day-1.
I think this is beyond my current skills to get this done. Any help greatly appreciated!!
Dave