Hi All,
I have tried to do this using crystal reports syntax but have failed so I am hoping there is some way I can do it using SQL...
I have this formula:-
datediff ("n",{RM_JOB.REQUIRED_START_DATE},{RM_JOB.ACTUAL_COMPLETION_DATE})
However I need to modify this to only include weekdays, is this possible?
Then once that is done I have a table called RM_CALENDAR_DAY which has a field in it call CALENDAR_DAY which is a date field and contains single dates for things like christmas day, boxing day etc...I also want these excluded from the datesdiff above...is that possible..
Thanks in advance
David.
I have tried to do this using crystal reports syntax but have failed so I am hoping there is some way I can do it using SQL...
I have this formula:-
datediff ("n",{RM_JOB.REQUIRED_START_DATE},{RM_JOB.ACTUAL_COMPLETION_DATE})
However I need to modify this to only include weekdays, is this possible?
Then once that is done I have a table called RM_CALENDAR_DAY which has a field in it call CALENDAR_DAY which is a date field and contains single dates for things like christmas day, boxing day etc...I also want these excluded from the datesdiff above...is that possible..
Thanks in advance
David.