I am creating a report which runs daily based on a previous business days date. Currently I am using the following formula:
{TRANSACTION_HISTORY.POSTING_DATE} = DateTime (Year(CurrentDate), Month(CurrentDate), (Day(CurrentDate)-1), 00, 00, 00)
There are two things I would like to accomplish. First, I would like to make the report run faster. I have read that if I can put it in SQL it would run quicker.
Second and more importantly, I need an accurate caculation of the previous business day. Currently this is just the previous day. It also needs to take into account holidays. I have read several posts, but have not been able to find anything like what I need. I tried to use a posted formula to calcualte the number of business days between two dates, but to no avail.
Any help would be greatly apprecaited.
Regards,
John.
{TRANSACTION_HISTORY.POSTING_DATE} = DateTime (Year(CurrentDate), Month(CurrentDate), (Day(CurrentDate)-1), 00, 00, 00)
There are two things I would like to accomplish. First, I would like to make the report run faster. I have read that if I can put it in SQL it would run quicker.
Second and more importantly, I need an accurate caculation of the previous business day. Currently this is just the previous day. It also needs to take into account holidays. I have read several posts, but have not been able to find anything like what I need. I tried to use a posted formula to calcualte the number of business days between two dates, but to no avail.
Any help would be greatly apprecaited.
Regards,
John.