Hi, my 12yr yorkie is going thru a similar thing. I tried the prescription canned Royal Canine and he ate it the first day, but then stopped. Then I tried boiled chicken, he ate but threw up. Now I had him a full day on just very overcooked rice, almost soupy. But then the next day threw up white foam. Vet is asking me to fast him once again for 24 and its hurts me to see him losing weight.
I had also hear that bland unflavored wet oatmeal works for some and I might try that next. Good luck, you are not alone.