using database *.dbf need closing this tables and find records in this databases

using datarecords example:


data1.recordset.fields("namefields")


the options .closedatabase and .findfirst not working

i need help

thank for all.