Randy,
An adequate error handling system ought to be able to help you track down the problem. If you aren't using one check out Doug Hennig's article on the subject.
>Hi. I have a "data type mismatch" error that only occurs in compiled code and live data. What tools do I have to locate and repair such a bug?