As Larry says, I use a spreadsheet for this - namely Microsoft Excel. I list out each fill up, oil change (or top off ;-) ), and part swap out/repair on the car. I list prices in a separate column so its easy to see how much I've spent on the car during any particular point.
82 300 SD
77 450 SL (gone)