Hello. I'm making a program in VB that uses an Access database. I've made a function that fill out a list with entries from this database. I get the following error:
"Runtime error '-2147217904 (80040e10)':
No value given for one or more required parameters.
This sentence is making the problem:
Res.Open Sql, Con, adOpenDynamic
res = an adodb.recordset variable
sql = a string with an sql sentence that i've checked. It's valid.
con = connection string:
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\" & "db.mdb;Persist Security Info=False"
Does anyone have any idea what i'm doing wrong ?