http://en.wikipedia.org/wiki/Sativex
Two points: 1) Smoking marijuana, it is much easier to titrate your dosage: i.e. get the right dosage, as the effect is much faster.
2) One of the main uses of marijuana, medically speaking, is control of nausea. Taking pills to control nausea just doesn't work.