var myDB = new Database("DSN=catalogue;")var Rset = myDB.ExecuteSQL("SELECT * FROM Products")var numTotal = Rset.GetNumberOfRecords()