May 8, 2001 #1 DeepBlerg Technical User Jan 13, 2001 224 AU how would i formule an sql statement to select all data from testtable where testcol is equal to strvariable
how would i formule an sql statement to select all data from testtable where testcol is equal to strvariable
May 8, 2001 #2 dpaulson Programmer May 7, 2000 347 CA "SELECT * FROM Testable WHERE Testcol = '" & strVariable & "'" Notice the single tick marks. You ONLY use them if the variable is a string. David Paulson Upvote 0 Downvote
"SELECT * FROM Testable WHERE Testcol = '" & strVariable & "'" Notice the single tick marks. You ONLY use them if the variable is a string. David Paulson