Any - it is up to you where you put the code - or put a button on the form. Or in some other code your run. etc etc