I use the quotes Like
and CVBook.mBASectorID in ('#form.mbasectorid#')
But when i use
and CVBook.mBASectorID in (#form.mbasectorid#)
It gives me this error
[Macromedia][SQLServer JDBC Driver][SQLServer]Syntax error converting the varchar value '10,12,13,3,4,6,7,9' to a column of data type int.