Well, I'm willing to bet that most of your problem lies in your selection of constant names. You have a constant named Left which is the same as the function Left(), same thing for Right(), center is used as a property for objects and you could have problems there because access doesn't know whether to use the function or the constant.
So first off change your names to something else perhaps cLeft (for constantLeft), cRight, cCenter. Next, how are you declaring your constants? Normally you do this:
Const cCenter = 0
Const cLeft = 1
Const cRight = 2
Now you can refer to the constant and Access automatically knows what the value is based on the Const statement.
MyResult = cCenter
that would set MyResult = 0 in our case.
HTH Joe Miller
joe.miller@flotech.net