When I query in my database microsoft access, with this code..
dc.rs = dc.st.executeQuery("select count(*) from Accounts where username like '%"+searchTF.getText()+"%' OR firstname like '%"+searchTF.getText()+"%'");
I got this result, not sure if this is error because it is written in black text.
[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
I want to search by username or by firstname that's why i put an OR there.
Do anyone know where I got some problem?