quote:Originally posted by Syster Tara
Thank you all so much for your help, especially Woody! My program now works - no more error msg!
You guys are gonna have to tutor me about single and double quotes concerning sql statements. I very much have a mental block about that, and the books don't really help much. For example, in my "insert" and "select" statements, there are single quotes next to double quotes and stuff, and I really can't make any sense out of it. It looks too messy to me. Can you enlighten me about that?
So... what are literals??? A literal is treated differenlty than the rest of your code when processing is done. The string literal is treated merely as the "literal string" that it contians, and it isn't used to provide instructions to the processor - it is something that can be operated on, but isn't itself part of the instructions. Without having some way to indicate that the string is meant to NOT be part of the code itself, all languages use some way to delimit strings. In our case, it is the Single and Double quotes.
Dang. It just seems like I am saying the same thing over and over.
Anyway - I hope that helps a little.
Woody Z http://www.learntoprogramnow.com