I am getting a text file that I need to modify in order to use is properly. I was able to bring the file into MS Access to modify it, but need to be able to have the file automatically cleaned so that the file could be brought in durring the nightly process. Here is a sample of the file:
08300059,100,00006
There are two things I need to do with this data. The first and relitively easy part I think is to remove the spaces at the end of each line. I think I can use the Search and replace method to do this one. My issue is that I need to also find in the text file any item in the second field that is 500 to 899 or 980 to 989 and replace it with 000. This is the part I am not sure about how to fix. Anybady got any ideas for me?
Thank you
08300059,100,00006
There are two things I need to do with this data. The first and relitively easy part I think is to remove the spaces at the end of each line. I think I can use the Search and replace method to do this one. My issue is that I need to also find in the text file any item in the second field that is 500 to 899 or 980 to 989 and replace it with 000. This is the part I am not sure about how to fix. Anybady got any ideas for me?
Thank you