Wow! There is no reply.Ok I have found it myself
Code:
cmd = New OleDbCommand("select * from titles where title_id=('@a') ", con);
The real culprit is single quotes in '@a'.Instead of parameterised query it now simply searches for @a record