@bastanu thanks for advice, I am not a coder and I'd like to know that we can use connection script with a txt file.
and yes I had a sqlite filename textbox.
So I prepared my code like that:
Dim tdf As DAO.TableDef, sConnect As String
Set tdf = CurrentDb.TableDefs("okumalar")