You are passing the literal string 'untill' in your SQL, not concatenating the variable into it.
So you're saying that currently I'm literally inserting the word "untill" into my query rather than the variable contained within "untill"? How do I refer to the variable then?
Thanks for the heads up on the code tags, I'll do that in the future
Last edited by JoWales; 02-25-2011 at 11:01 AM.
Reason: Corrected a spelling mistake
Bookmarks