Thank you Ray for that explanation,
I notice not all the fields are listed in the areas line 12 to line 26 although they all seem present in lines 70 to line 97
I would be very interested to know what is the function of Lines 12 - 26.
I am attaching a list of the DBase field names for interest.
Regards
John