thanks for helping me out. I am just frustrated now. Why can't my work the way I want it to? That's how they explain it, it's a table of record. I used yours but I don't how to write a query on it. Because ultimately I have to use it as sub select in the main query to get the result only for the number that is in my object type table. How the hell will I do that?