I had my code just like yours but I was not getting the correct data. Therefore, I wanted to make sure I could do it the way you indicated and that I originally had, but I must have something not quite right in my other code which is giving me the wrong data. I did put a break on the code but I think I was looking for the BO that was being used and did not find it and did not pay any attention to the table being used.Thank you again for your excellent help.