This class creates a workspace and links to a database and recordset,
and makes available standard DAO recordset procedures.
It can be invoked from your main program with a call such as
Dim myRecordset As
This Dim statement will provide you with access to the underlying database
via your myRecordset object and the DAORecordset object in the class.
Unfortunately, this does not support the "!" fields syntax;
fields must be referenced with a call such as
strVar = myRecordset.DAORecordset.Fields("myFieldNm").Value
Note that just like in VB6, you must add a reference to the DAO
library you wish to use. The DAO libraries are found under
the COM tab:
Feel free to use the above class in any program,
whether for non-commercial use or commercial; all I ask is that
you maintain the comment credit line.