Can some body help me to "convert" this DAO code to ADO code? dbname = txtChemin.Text Set dbs = wks.OpenDatabase(dbname) Dim recset1 As Recordset Set recset1 = dbs.OpenRecordset("catalogue1") recset1.MoveLast recset1.MoveFirst recset1.FindFirst "code=" & valcode If recset1.NoMatch = True Then MsgBox "pas de donnees" end if thanks