Hi Guys,

I need an explanation...
When I run this query:

"select name from tbl where ID = 2"

it gives me an output.


Now, when I do this:

Dim x as integer
x=2
"select name from tbl where ID=x"

I get an error saying "Too few parameters. Required 1"

Any help will be appreciated