thanks a lot Polymorphic OOP! that was esactly what i was looking for, it worked just fine,thanks again.