Ms Access execute query file select

I want to input this file path

To this section database file name

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 ?

If yes i’ve try and that message still come

Can you share your connection string ?

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.