Flash in low light situation

Here's the scenario:
When i tried to take group photos at a rave/club party, my auto focus keep on adjusting because it cannot capture the subject properly. Is there a way i can adjust my camera so it can AF much faster with flash?
When i tried to take group photos at a rave/club party, my auto focus keep on adjusting because it cannot capture the subject properly. Is there a way i can adjust my camera so it can AF much faster with flash?