Open form frmISAPDates in attached database and choose the Outreach report to print. The custom function SessionCountOut throws off error 3061. It is failing at the Set rs = line of the code. If you copy the SQL string and paste it into a query, it works fine. A version of this function also works fine in another report. I cannot for the life of me figure out where the problem is.
Thanks