For them, Lactaid or Dairy Ease may prove more useful. Beano does not break down lactose, but does handle stachyose and raffinose, two of the problematic sugars in beans. Others get gas because they swallow a lot of air while they're eating. This can become a problem if you have a cold, or if you have allergies or a sinus condition and tend to breathe through your mouth. If Beano doesn't work for you, you can try other natural preventive measures against gas.
Some people swear by anise or fennel seeds, which are gastric stimulants.
Acidophilus will keep your intestine in healthy working order. Papaya enzyme just after a meal may also help. Other strategies would be to select beans that are naturally low in the difficult sugars. The best are Anasazi beans, a mutant variety of pinto beans that look much prettier. Black beans are also very good.