Hi arnelgp,
 
I've re-run the program after checking that those variable were correctly declared as per your post and the same problem occured.
 
Could it be that the postcode field is empty,  I have checked each of the text files and found that not all the postcode fields have a postcode in them, could it be that, that is causing the error message to generate.
 
Regards
 
John