Modern cameras and lenses have given us many improvements over the models of old, but one thing that seems to have gone backwards is the easy control over depth of field.
Way back when with my Nikon FM SLR and 24mm lens I could set the lens to f22 (nobody had impressed on me back then that opening up a stop on almost any lens would have given a better image) and then set the focus from the scale on the lens and know that everything from 2ft to infinity would be in focus.
Nowadays lenses rarely have a depth of field scale, and most do not even let you see the distance they are focused at, which makes this procedure tricky. However whilst on holiday I worked out a way to do this with my Nikon D40 and 17-105mm lens.
First I needed to find a hyperfocal distance table for the focal length I was using - but the very good news is I only needed to use this once, no need to carry it around and look at it for every image. The table gave the hyperfocal distance for 17mm on an APS-C sensor as 3.3ft at f16 and 4.5ft at f11.
From this if you are tall use f11, if not then use f16. If that sounds a strange connection read on to find how you can easily make use of this information without having a scale on the lens. The numbers here assume that you are using a 17mm lens;
1. Set the camera to aperture priority and select f11 or f16
2. Whilst standing point the camera at your toes and half depress the shutter to focus.
3. Taking care not to change the focus switch the lens to manual focus so that the camera will not change it.
4. Now you can recompose on the scene and take the shot. Focus will be from 1.15ft to infinity at f16, or 2.25ft to infinity at f11.
5. IMPORTANT After you have finished shooting remember to reset the focus switch to auto if you are going to be taking other shots.
NB: Hyperfocal distance, if you are not familiar with the term, is the focusing distance for a given lens/aperture which will given a depth of field stretching from half the hyperfocal distance through to infinity.