Solved Syntax error (1 Viewer)

Gasman

Enthusiastic Amateur
Local time
Today, 09:07
Joined
Sep 21, 2011
Messages
14,267
Thank you. My concatenation was indeed off. It works.
If you are not that great at doing it all in one statement, break it down to components so you can debug.print them.
I often have strSelect, strWhere, strOrder if the contents can vary, then just concatenate those with a space.
HTH
 

Isaac

Lifelong Learner
Local time
Today, 01:07
Joined
Mar 14, 2017
Messages
8,777
Great trick while debugging print the sql statement then pop it into a new query window and try to run it
 

Users who are viewing this thread

Top Bottom