Yes.
Create your custom Function in a Module ... do not name the Module the same name as the Function.
Then ... in your query ... create an Expression for a Field Name like so
MyFx:ConvertMonthName()
Your Function might look like this:
Public Function ConvertMonthName()
' some code
ConvertMonthName = ' this passes the result back to the query
End Function
mx