Function CloneRecordSet(SourceRecordset As ADODB.Recordset) As ADODB.Recordset Dim AdoStrm As New ADODB.Stream Set CloneRecordSet = New ADODB.Recordset AdoStrm.Open SourceRecordset.Save AdoStrm CloneRecordSet.Open AdoStrm AdoStrm.Close: Set AdoStrm = Nothing End Function
0 件のコメント:
コメントを投稿