i am writing com dll in VB. i have 4 functions that returns recordset. i want to ask for advice where to put the line that opens my connection

at the beginning of every function and close at the end or open a connection in init function of the com and close in terminate function.
thanks