I ‘m making this call:
sql=select * from Lists where Name = test
Cursor cr = GetUserDb().GetSQLiteDb().rawQuery(sql, null);
Name is the primary key
Its right at the rawQuery() call , because GetUserDb() & GetSQLiteDb() are not null.
The logcat says:
Caused by: android.database.sqlite.SQLiteException: no such column: test: , while compiling: select * from Lists where Name = test. That doesn’t make sense to me because test is not a column name its data in the Name Column.
Whats causing it to crash?
-Mike
This worked: final String s = “select * from Lists where Name = ‘test'”;