"Try Beano before and there'll be no gas!" I would suggest Beano or Gas-X. Beano you can take before your meal and it helps eliminate the gas.
Some people recommend fennel tablets from health food stores, though I have no idea if they'd work. I found some medical advice here. If you click on "treatment" you can find some types of medication, which you can then ask your pharmacist. If I were you I'd look at the food tips too - there may be something you haven't tried.