If you are talking about SQL within Access, not that I know of. The way to test variables in the code is to use the Immediate window (press Ctrl G anywere within Access). Lets say, you have a Forms!MyForm!MyField as a vaiable in your SQL code. Then to test that, in the Immediate window you can just type a question mark (?) then the Forms... statement and press enter. Access will get the data you requested and print it on the next line.