Also a short cut to doing this is with the D40 to set the scene mode wheel to "Sport", as this will turn on the continuous shooting option too.
But I find I have to be careful with my D40 in CS mode, as the shutter button then becomes hair trigger light and I can fire off 3-4 shots sometimes when I only wanted one! -Thank God it's not film, right? ">})