I have a parameter field which take a date range which the user selects and the records are viewed.I need to perform a formula as
Total hours=8*no. of working days.
where the no. of working days should be the according to the date range selected.
Suppose a user selects a date range as 09-06-2104 to 10-06-2104,the no. of working days is 2 and thus the above formula become
Total hours=8*2.
Please suggest me how can i perform this.
Thanks in advance
Hi Arun,
Please have a look at Ken's website for the formula:
http://www.kenhamady.com/form01.shtml
The Holiday list array formula is here:
http://www.kenhamady.com/form17.shtml
Multiply the final result by 8.
-Abhilash
Hi Arun,
basics are this: datediff ("d", #06/09/2104#, #06/10/2104#) + 1 // +1 to include the start date.
Hit the F1 key to bring up the CR Help file and you'll find lots of examples and how to on handling dates, you can also use work days to compensate for weekends etc.
Don
Add a comment