Thank You guys! that was very helpful, actually it solve my problem.
General developer forum
Problem passing variables to a query
This discussion has been locked so you can no longer reply to it.