I take a daily calcium supplement on the recommendation of my doctor. I also drink milk and take
magnesium vitamin D3, none of which affects my
cramps.
I do find that when my potassium levels drop too low, I have the cramps much worse than at other times. I also get them worse if I don't drink enough water. For potassium, I take an OTC potassium capsule - one per day is all it takes, along with drinking several glasses of water.