dreport is incorrectly evaluating a comparison between two values. Check this out: http://www.kinotox.net/temp/boom.jpg The variable r has no defined length. This is within a function that r is passed to. Can anyone explain this one, and how to fix it??? Tyler