You don't mention what version of ms-access.
Also, you don't mention your skill levels.
However, an excellent reference that has common code solutions to just about
every problem you will ever have can be found here:
http://www.mvps.org/access/
And, a good on-line book that starts right with the basic stuff and goes
into coding can be found here:
http://www.microsoft.com/accessdev/articles/bapp97/toc.htm
The above book applies to access97, which is quite old..but it still is a
good start, and the examples will work in later versions.