如果只要將Command物件所選取的資料錄集合指定給另一個ADODC1.Recordset物件。 Private Sub Form_Load() set adodc2.recordset= nvirotnment2.rscommand1 If Adodc2.Recordset.State = adStateClosed Then
Adodc2.Recordset.Open
End If
End Sub
執行時錯誤.....