Hello kids! Its time to play WHATS WRONG WITH THIS CODE!!!!
Lets meet contestant number one. This sloppy programmer wants to have some values he gets from a form to be queried against his Access database. When inserting the variable values into his query using some sloppy code like
strQuery = strQuery & "SELECT * HAVING price BETWEEN '" & fromPrice & "' AND '" & toPrice & "'"
...
He gets errors!!!!
For 500 points, can somebody tell me WHATS WRONG WITH THIS CODE!?!?!




Reply With Quote