Hi,
I have a query and in the field i have
Expr1: FieldName(Format(DateSerial(2005,Month(Date())-1,1),"mm"))
This will run the function below with the number 10 in (this month anyway)
Function FieldName(MMonth)
FieldName = "[" & MMonth & "]"
End Function
The problem is, instead of then...