Hello there,
I had exactly the same problem and was advised to take my metformin during my meals, not before and not after but during. I found that if I ate half a meal and had my metformin and then finished my meal, I had no problems at all. Fantastic solution. I hope this works for you...