SouthwestNut
Programmer
This might be more of a statment than a question. I have written a module that is referred to in my Access query
LastDayOfMonth(CInt(Right([01_qsub].[DATE-YYMM],2)))
The purpose of the module is to determine the last day of the month. When I run the query in Access it works fine. However when I run the same query as a record source for a Crystal Report I get the following error message:
Can't open recordset
Undefined function 'LastDayOfMonth'
LastDayOfMonth(CInt(Right([01_qsub].[DATE-YYMM],2)))
The purpose of the module is to determine the last day of the month. When I run the query in Access it works fine. However when I run the same query as a record source for a Crystal Report I get the following error message:
Can't open recordset
Undefined function 'LastDayOfMonth'