in the picture attached..and i'm hoping it isn't too big..as my resolution is set at 1440 x 900..
you''l see a bunch of rows i've highlighted in in blue(selected)
what i need to do is take any row that has a duplicate Document and place all models of each row in one row and only the matching document in the same row.
so instead of having the same document number listed on a crap load of rows, there should only be one listing per document and all models on that same line..delimited with a " , "
hmm not sure if that makes sense but we'll see lol
I'm thinking that if i set the primary key on the document column so that there will only be one listing per document..i can have it make a new string list of all models that have that same document number when it detects a duplicate and then add the whole thing to the db .
My problem is i'm getting confused with trying to figure out how to do it lol..i mean i can picture what needs to happen in head,,but just not sure how to go about doing it in the code.
you''l see a bunch of rows i've highlighted in in blue(selected)
what i need to do is take any row that has a duplicate Document and place all models of each row in one row and only the matching document in the same row.
so instead of having the same document number listed on a crap load of rows, there should only be one listing per document and all models on that same line..delimited with a " , "
hmm not sure if that makes sense but we'll see lol
I'm thinking that if i set the primary key on the document column so that there will only be one listing per document..i can have it make a new string list of all models that have that same document number when it detects a duplicate and then add the whole thing to the db .
My problem is i'm getting confused with trying to figure out how to do it lol..i mean i can picture what needs to happen in head,,but just not sure how to go about doing it in the code.