Hi
I would like to add a text box to a report, which just shows the entire query used in the report. I would have thought I could work it out but ...

I saw someone say that a text box with the code =[RecordSource] woudl do it but I have not bee successful.
If I put this in the textbox's Control Source, I get the name of the query used. What I really want, is the entire underlying query that the query used. This is because the query has a short name e.g. exceptions, but there are loads of tables it references.
Any ideas?