code revised to accurately convert text data to binary for 9 fields (remarks column ignored).