L
Lu An De
Hi all,
It is sometimes useful to create a recordset 'on the fly' in code using
code like this:
Dim rsClients as ADODB.Recordset
Set rsClients = New ADODB.Recordset
rsClients.Fields.Append "ClientID", adInteger
rsClients.Open
This recordset requires no tables nor queries to draw from. It can be added
to and filtered in code very easily.
Is there a way to apply this code generated recordset as the recordsource of
a form and have the user be able to view its rows?
Alternatively, how to save a recordset as a table or query(in code)?
Regards, Lu An De
It is sometimes useful to create a recordset 'on the fly' in code using
code like this:
Dim rsClients as ADODB.Recordset
Set rsClients = New ADODB.Recordset
rsClients.Fields.Append "ClientID", adInteger
rsClients.Open
This recordset requires no tables nor queries to draw from. It can be added
to and filtered in code very easily.
Is there a way to apply this code generated recordset as the recordsource of
a form and have the user be able to view its rows?
Alternatively, how to save a recordset as a table or query(in code)?
Regards, Lu An De