The form will use the Recordset's data as the data for the form. It works
best for DAO recordsets. ADODB recordsets can be used, but the form will be
a read-only form (no editing of data allowed).
--
Ken Snell
MS ACCESS MVP
http://www.accessmvp.com/KDSnell/
"Mark A. Sam" wrote in message
...
Ken,
Are you saying that the form will take on the records of the recordset
variable or the other way around. I have never had experience setting the
recordsource of a form from a variable. I wish I had.
Mark
"Ken Snell (MVP)" wrote in message
...
"Mark A. Sam" wrote in message
...
Orna,
I may be misreading what you are attempting to do, but it seems like you
are trying to set the Roecordsource property of the form
[Form_frmDoobloFileDetails] from a recordset variable:
Set Form_frmDoobloFileDetails.Recordset = rsNew
I believe this is wrong, however I may be misunderstanding or not
familiar with your method.
Mark, one can set the Recordset property of a form to a recordset object.
What the poster is trying to do is a legitimate action in ACCESS.
--
Ken Snell
MS ACCESS MVP
http://www.accessmvp.com/KDSnell/