quote:Originally posted by Mike2 Yeah, you put this code in the form_load event, command1_click event etc