It never fails. Whenever I prepare a difficult question to ask others, I end up discovering the answer a few minutes later. I left out quotes around my queries. :) So instead of Query=2=1, I should have done Query=(2="1*"). So I'm doing good now great now. Thanks for the help everyone, I really do appreciate it. Brad Peterson brad at datamasterusa.com