Thanks Mtmckinley it seems to work exactly as you said.I keyed the lattice points instead of the object itself.I was keying the object and then when i wantd the deform to take place t moved the points and keyed it which placed the object in that deformed state all the way through the animation.