Hi, thanks for the replies, you were both right, I used SaveAsText acForm, "NameOfForm", "c:\NameOfForm.txt" and had a scan through, found that is was still in the query even though I must have checked 10 times!!!! It had Expr: at the start of it, so I had just looked over it thinking it was...