Ms Access execute query file select

database1
I want to input this file path

database
To this section database file name

database2
If I run the massage said this

Can anyone help me solve this

Hello Ardi,

First create the connection string . And once you have created it then replace it with the File value.

Something like this :
“Provider=Microsoft.ACE.OLEDB.12.0;Data Source=”+File.toString

Hope it helps you!!

Like this one right ?
Solution1

If yes i’ve try and that message still come

Can you share your connection string ?

Solution2
like this

Since you have used directory , it will give you a String. So refer to above screen shot and try once.

thanks for your help

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.