That format function mask will not work with an alpha character in the data. Also, since the letters a and A are mask characters (remember, Access is not case sensitive by default), must have something to do with causing the 0000 return.
I, too, wonder what the OP's data is really like.