Hi, All. I have a data frame with the part as : ..... 142 2006-02-22 16:28:18 useractivity_act 8 0 143 2006-02-22 16:28:26 4 2 0 144 2006-02-22 16:28:28 3 3 0 145 2006-02-22 16:28:31 4 4 1 146 2006-02-22 16:28:35 3 159 0 147 2006-02-22 16:31:14 useractivity_idle 0 0 1421 2006-02-22 16:28:18 useractivity_act 8 0 1431 2006-02-22 16:28:26 4 2 0 1441 2006-02-22 16:28:28 3 3 0 1451 2006-02-22 16:28:31 4 4 0 1461 2006-02-22 16:28:35 3 159 25 1471 2006-02-22 16:31:14 useractivity_idle 0 0 .... I want to merge the above as 142 2006-02-22 16:28:18 useractivity_act 8 0 143 2006-02-22 16:28:26 4 2 0 144 2006-02-22 16:28:28 3 3 0 145 2006-02-22 16:28:31 4 4 1 146 2006-02-22 16:28:35 3 159 25 147 2006-02-22 16:31:14 useractivity_idle 0 0 How should I do`?? Thanks. Tammy _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us [[alternative HTML version deleted]]