Obligatory warning: Randy's site is aimed at VB programmers. Because there
are significant differences in the controls available for forms in VB and
those in Access, not all of his code ports directly into Access. Taking a
quick look at this sample, though, I don't think you should have any
problems using the code in Access.