code critique - am I creating a Rube Goldberg machine?
问题 I'm making a fair amount of calls to database tables via ADO. In the spirit of keeping things DRY, I wrote the following functions to return an array of values from a recordset. Is this hare brained? I use it mainly for grabbing a set of combo-box values and the like, never for enormous values. Example Usage (error handling removed for brevity): Function getEmployeeList() getEmployeeList= Array() strSQL = "SELECT emp_id, emp_name from employees" getEmployeeList = getSQLArray( strSQL, "|" )