I\'ve been a bad programmer because I am doing a copy and paste. An example is that everytime i connect to a database and retrieve a recordset, I will copy the previous code and
Put the code into a routine and call the routine whenever you want that code to be executed.