I'm not exactly sure. If you have the Northwind sample database that comes with Access, I know that there is a form on there which does exactly this, but I deleted my sample copy long ago. There's probably a copy somewhere on this site if you have a look around.