K
ket_shah
Query Name = Query1
Query1= "select * from employee"
I have created a Recordset of a query that is not part of a form
Dim Db As DAO.Database
Dim Rst AsDAO.Recordset
Set Db = CurrentDb
Set Rst = Db.OpenRecordset("Query1",dbOpenDynaset)
Is this correct ?
If yes than how can I fetch the records from the record set.
Please advise.
Thanks in advance.
Query1= "select * from employee"
I have created a Recordset of a query that is not part of a form
Dim Db As DAO.Database
Dim Rst AsDAO.Recordset
Set Db = CurrentDb
Set Rst = Db.OpenRecordset("Query1",dbOpenDynaset)
Is this correct ?
If yes than how can I fetch the records from the record set.
Please advise.
Thanks in advance.