When training has failed you and you are cramping, nothing works as well as regular strength, brand name Tums. Take one and cramping should subside in seconds. If not, take another. Never had to take more than two. The best thing though is to avoid the problem with training and pedal stroke.
I've used Sportlegs recently and like them. I haven't cramped in years, so I can't say what they might do in this situation.