Does anyone have a formula for finding the number of samples to take of a population in order to have a specified amount of certainty of a specified error rate?

the only equation I have at the moment doesn't deal with the initial size of the population to sample. So whether I have 5 million in the population or just 5, I should take a sample of 384 in order to have 95% assurance of being correct.
Strange huh?
_________________________
-- Murray I What part of 'no' don't you understand? Is it the 'N', or the 'Zero'?