Someone else n I made code to produce text files from a Temp Table..
But it currently only outputs by a static Text file name, I'd like to change it too .... Name the files based on the/ viarable in a column of data
i.e. and limit to 20 records exported, and start a new file for any over 20...