Good day.
We created a table of working days (excludes sat., sun. and holidays)
The table looks like this:
....
MM/DD/YYYY RowNumber
08/26/2011 5,620
08/29/2011 5,621
08/30/2011 5,622
...
The table has dates from 1990 through 2068.
I want to calculate a date using an offset that comes from a master table, but retrieving only a work day.
example:
08/29/2011 with an offset of 1 should yield 08/26/2011. I can retrieve the correct value using sub-report by calculating 5622 - 1 = 5621 and linking back to the table. I prefer NOT to use a sub-report as I have no luck with sharing variables.
I have tried (all unsuccessfully);
SQL Expression
Functions
commands
Any ideas?
Thanks for your consideration!
Edited by FOSTANEK - 31 Aug 2011 at 11:02am