View Single Post
Old 05-05-2007, 07:12 PM   #10 (permalink)
match000
Psycho
 
Quote:
Originally Posted by JStrider
your script is very close, only problem I see is when the field with the '-' in it is the first one for that ID it still includes it. this wouldnt have shown up using the little example dataset I provided.
that's the bug i mentioned in my post above. you have to have an if statement for the PRINT statement also, do something similar to what i have in my code to fix this

basically you are not cathcing the case where there is a userID that has only ONE entry, and that one entry is a '-'..
match000 is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43