I am looking to convert the macro on http://www.partos.com/access/ into vb code but can't seem to get it to work. I want to run it as an Event on a form. Any help would be most appreciated.

Thanks

Walter