I want to use a simple call function in the criteria of the query and I keep getting "Unknown Access database engine error"
Public call function is simple:
dim gdtmSpecDate as Date
Function getSpecDate() As Date
getSpecDate = gdtmSpecdate
End Function
I then incorporate into a query criteria as getSpecDate()
the crazy is the query design even pulls up my list of defined functions and plugs it in with one "(" and when I check the function in the debug it works fine - but then when I open query it sates "Ukown Access database engine error"
any help appreciated