Karl Blessing
Programmer
I have a project, where they want to see the data as it comes in I have a String that come I'll try to explain it the best I can, the data string can be split up there are Groups, all groups contain the initial Column, alignment, etc as the first group, but may contain different data and Totals.<br><br>Group1`Group2`Group3`<br><br>those are "major' delimiters<br><br>within group 1 we have<br><br>AutoSizeInfo~ColumnInfo~Data~InsertedTotals<br><br>only group one will contain 4 subpeices between ~<br><br>then autosize is either "1" or "0"<br>ColumnInfo is<br>Name^Width^DA^...<br>The First 2 peices of Sections with ~ dont have to be defined here since, once I get the String in between the ~ I can just pass them to the function, because the GrpInfo I <b>Must</b> have completely, however here's where it gets tricky, The Data Portion is seperated like so<br><br>Colum1Data^Colum2Data^Colum3Data¦Colum1Data(row2)^Colum2Data(row2)^Colum3Data(row2)....<br><br>but they want to see the data on the listview as it comes in, so I cant wait til I have the ~ at the end(end of data) I have to then Search for each "¦" then Add the row for that peice.<br><br>any group after the first is<br><br>Data~InsertedTotals<br><br>so it's just two after first group, my problem is that, if I havent already done the First two sections of Group one, I need to make sure those are down, then I continue and grab each section for Data, then move to group two, the idea seems simple enough but I'm having a horrible time with Instr, and Splitting and trying to get the loop to check and see if the new section is data, or if I need to wait for next loop around to get whatever, it's become a real pain JUST because they want to see it come in every say 10 or 20 (if I Can get the row adding to work fine, I can just do a count, and update the scroll bar every 10 or 20)<br><br>Also the String is being retreived from a URL, I'm using an Inet1 Control to grab it as it comes in, and loops until it's done comming in, but I am stuck at the point of doing if then checks for sections, and where to grab this, what to track and so forth. <p>Karl<br><a href=mailto:kb244@kb244.com>kb244@kb244.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>