| Re: Importing complex delimited text OK I would suggest you define a series of tables. One for each record type that you receive in a single message. This seems the be the first token of each line in the message. Define columns for these tables to hold the various values you receive on each line. This way each row of information will have a unique column in its matching table. Have the datetime be a common column in each table and filled with the DATETIME value from each message. This way you can join all related message information on datetime. As for reading and parsing the message, check out the SPLIT() function in VB. Your tablename will be at index 0.
Enjoy! |