I'm not sure about this, although I've heard the tomato sauce story many times but personally I think it's a bit of an urban myth.
I don't think there's any truth in this particular claim either as you'd certainly want to avoid eating tomato soup if you had stomach ulcers.
Gary