object) either in the function as part of the return, or outside of the function during the call when assigning the return, i.e.:code:Function MyFunction() ' code here ' return is an object, must use SET! Set MyFunction = MyLocalRecordSetObjectEnd Function' or problem is during call not using set, 'syntax must be:Set MyResultRecordset = MyFunction 'works, right syntax' the following does not wor