Given how you're trying to use it, it should be declared As Database.
However, you'll only get that as an option after you add the DAO reference,
as outlined in my other response.
If you do continue to have that object, then make the following change:
Set Bdd = CurrentDb
Set RST = CurrentDb.OpenRecordset(strSQL)
should be
Set Bdd = CurrentDb
Set RST = Bdd.OpenRecordset(strSQL)