If your making multiple connections to the same database then you might want to define a form level variable to hold the connect string and then set it in your form load procedure.