In this paper we show global existence of weak solutions for a class of integrodifferential equations generalizing the Oldroyd model for viscoelastic fluids.