I did this once on NW at the connecting flight gate, but it resulted in my already flown flight being credited to the newly given FF#. Gate agent seemed rather peeved to accomodate my request, and I made it clear that I wanted to change only the connecting flight and have the original flight credited as per the boarding pass. Was a big hassle to get credited the way I wanted once I discovered the error.