I am trying to add some funtionality to a charity's database that I had nothing previously to do with. It was developed in ACC2003 and I am working with ACC2007 but still as an .mdb file
Mostly I have managed to do what I need but on this one I get an "Operation is not supported for this type of object". I have attached jpg with the code and also the references for the db.
dbs is properly called as a DAO.database and rstCbt is as a DAO.recordset. It keels over on the line rstCbt.FindFirst
The code looks OK to me but possibly I am simply missing something simple.
First thing I checked was references since the db is a bit of a mess but as far as I can see they look OK and are not showing anything as missing.
I have not come across this before and wonder if anyone has got any ideas where I might look.
Any pointers would be most appreciated.
Thanks
Malcy
Mostly I have managed to do what I need but on this one I get an "Operation is not supported for this type of object". I have attached jpg with the code and also the references for the db.
dbs is properly called as a DAO.database and rstCbt is as a DAO.recordset. It keels over on the line rstCbt.FindFirst
The code looks OK to me but possibly I am simply missing something simple.
First thing I checked was references since the db is a bit of a mess but as far as I can see they look OK and are not showing anything as missing.
I have not come across this before and wonder if anyone has got any ideas where I might look.
Any pointers would be most appreciated.
Thanks
Malcy