"Mark A. Sam" wrote in
:
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.
What you quote there is not the .Recordsource being set, but the
form's .Recordset. The Recordset property of a form was introduced
in Access 2000 and is settable to a predefined DAO recordset (never
an ADO recordset, as form recordsets are always DAO).
So, there is nothing wrong per se with the quoted line of code.
--
David W. Fenton
http://www.dfenton.com/
usenet at dfenton dot com
http://www.dfenton.com/DFA/