Thanks for taking the time to post a reply to the query of queries error. You won't belive what I found that solved that issue. First, it was tru that MX was casting the two-hyphen varchar as a date. But no matter what I did to solve this (using ToString, Evaluate, etc.), I could not get the datatypes the same. In the end, a simple change of the = in the query of query to a LIKE statement (without %'s), and the comparison works like a charm!! That only took 4 hours of frustration to discover!!!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get the mailserver that powers this list at http://www.houseoffusion.com/banners/view.cfm?bannerid=17 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182290 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

