I am trying to build an SQL query dynamically, I know this is not a good idea, but its for an ad-hoc report. And I am getting hung up on needing quotes around some of the variables. For example, I am passing in a variable from a form, #form.name# and I am tryingt to build a query in the...