Yes, it is possible to create a virtual table/recordset in ADO and populate it with data. You can create a disconnected recordset using the ADO Recordset object's CreateObject method, and then populate it with data by adding records and fields manually. Here is some sample code that demonstrates this:
mathematica Copy code Dim rs As ADODB.Recordset Set rs = CreateObject("ADODB.Recordset") rs.CursorLocation = adUseClient rs.Fields.Append "Field1", adVarChar, 50 rs.Fields.Append "Field2", adVarChar, 50 rs.Open
rs.AddNew rs.Fields("Field1").Value = "Value 1" rs.Fields("Field2").Value = "Value 2" rs.Update
'Pass the RecordSet to a different form' Set otherForm.rs = rs In this example, we create a recordset with two fields, open it, add a new record, and populate it with data. You can then pass this recordset to a different form by assigning it to a variable on that form.