Does anyone have an idea why the query below results in an error? The problem appears to be centered around the field named "bit_length". If I use query for only "name" or "*" instead, the query returns just fine.
Error:
failed to retrieve the required data from the database. ierrorinfo.getdescription failed with E_FAIL
Code:
string connectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=myDb.mdb;User Id=admin;Password=;";
string sQuery = "SELECT bit_length FROM my_data";
Database table structure:
name = text
bit_length = number
Error:
failed to retrieve the required data from the database. ierrorinfo.getdescription failed with E_FAIL
Code:
string connectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=myDb.mdb;User Id=admin;Password=;";
string sQuery = "SELECT bit_length FROM my_data";
Database table structure:
name = text
bit_length = number