Originally posted by Si_the_geek
put the code in a module, then all the forms can access it
he still have to do it manually