>I'm in a situation where I have users giving me tab-delimited text files to be imported into a table, from which I'll do reports. However, the format that they send has more than 255 fields.
>
>I've been trying to figure out a way to open the text file and split off some of the information into one file, then put the rest in another. I can open them with the FOPEN(), but I haven't had any luck counting tabs to get to where I want to split it.
>
>Has anyone had to do this type of thing before?
>
>Thanks,
>Rebecca
You could open it either by FOPEN() or as FILETOSTR() and then check for CHR(9), i.e. Tab.
Edward Pikman
Independent Consultant