It does return results which are written to the file.
In fact it actually returns the correct results, which is a bonus. The file looks like
Name | |
---- | |
10290 | |
07920 | |
08210 | |
09914 |
25137
It actually seems to have extra carriage returns which don't show here, or 'notepad', but show in 'notepad++'.
The gaps are what I want to eliminate easily if possibly. I know I can read through the array and write the information if it isn't 'Null' to another array, but that is tedious, but if it is necessary, and I will put that in the script.
Geoff