> There must be something that I'm missing here. Triuple quoted strings :-) Take a look at my Databases topic for examples using SqlLite and triple quotes for the queries. Alan G Author of the learn to program web tutor http://www.freenetpages.co.uk/hp/alan.gauld .