I'm not a doctor, but AFAIK it's best to just get an IV straightaway if you're really dehydrated and continually vomiting. The pain from an IV is not bad at all and it seems beneficial for children and everyone else to be able to tolerate a minimal amount of harmless pain.