So where does your stomach hurt? Have you taken down a food log to see if it is a certain type of food that is causing it? Doctors can run all the tests known to man, but only you know your own body and how it reacts to certain foods. Wheat, milk, lactose, high fructose corn syrup, all of these things can contribute to stomach pains. Does your pain go away with the diarrhea? Sometimes gas can cause extreme pain. My sis has even visited the emergency room for gas pains thinking it was something else.
I am no doctor. I am only an individual who is undergoing a series of tests right now to diagnose my month and a half-long stomach pain/diarrhea problems and what I wrote above is what I have learned on my own.
I would try to keep a food log if you haven't already.
Hope you get to feeling better soon. I am sorry you are going through this.