Take the error at face value...
Try the same formula in the designer. Does it work there? If not, it ain't going to work at runtime either.
E.g.; You may want to do a message box - if win app on what you are passing to the formula, then do the same in the CR designer.
If web app do Response.Write to see what you are passing to the report formula.
- Ludek