I have created the recordset below
which I would like to make the recordsource for a form in the current database called "frmMain".
I would be very grateful if someone could give me a hint as to how to go about it.
strResult = "SELECT * FROM tblMain WHERE
(((tblMain.[AccNo])= " & "1111" & "));"
Set Rst = Dbs.OpenRecordset(strResult)
Thanks
Roger
which I would like to make the recordsource for a form in the current database called "frmMain".
I would be very grateful if someone could give me a hint as to how to go about it.
strResult = "SELECT * FROM tblMain WHERE
(((tblMain.[AccNo])= " & "1111" & "));"
Set Rst = Dbs.OpenRecordset(strResult)
Thanks
Roger