Well im sorry i cant help you on a Volvo S40 i have never had one but from what i know of a fella from work they are bulletproof, i had a T5 and it was as reliable as a wood burning stove, Volvos are a mechanically sound just a bit understated i think
Go for it you'll get yourself a good car.