I tried using the results of thread401-727756 with no good results. I have a text file, example:
001First & Last Name 1G,R,A
Where the 1st 3 pos are the salesman # the next 29 is the name, the next 1 is the saleman type and the last 7 are the Divisions the salesman is associated. When I read in the record, using Wscript, I get everything but the last field, used in an IN filter stmt, it gets the first digit only, obviously due to the comma. I tried using the Separator Escape Character=& in the .ini, then I added the Escape Char '&' before each comma in the text file, still no good.
What am I doing wrong?
001First & Last Name 1G,R,A
Where the 1st 3 pos are the salesman # the next 29 is the name, the next 1 is the saleman type and the last 7 are the Divisions the salesman is associated. When I read in the record, using Wscript, I get everything but the last field, used in an IN filter stmt, it gets the first digit only, obviously due to the comma. I tried using the Separator Escape Character=& in the .ini, then I added the Escape Char '&' before each comma in the text file, still no good.
What am I doing wrong?