Margaret, I don't know what is causing your cramping, but whenever it starts happening to me, I eat a banana a day. Within a week I have no more cramps. In my case, I think I need the potassium and the banana is better than pills. I tend to forget about them, and not eat them for long periods and that's when the cramping starts up again. They really are painful!