Quote:
quote:Originally posted by Ray Pinnegar
The only reason it couldn't be used in this instance is that row 'c1 c3' indicates a missing field which would have to handled at the inital creation of the 'delimited' file.
|
Ray, no matter what the condition of the data, you still must import it.
How you import it really depends on the data.
Because the data presented in the original question has 1s in the first spot, 2s in the second, 3s in the third, etc. You can find that C2 is missing very easily after importing "C1 C3" and isolating C1 and C3 ("Hey! Where's the 2?!"). Import text-delimited first using the wizards, process the data with code after.
If the data is, instead, totally random and each datum length is totally random with possible missing data,
then you have a problem indeed! You'd be required to import a whole line at a time using code and then process each line given the rules you set to isolate data. You'd still need some kind of delimiter to isolate the data, but you need a way to ID missing sets. For this situation, we'd need to see what the actual data looks like to offer help on how to decipher it.
Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division