Population Size effect on Sample Size

I am just wondering, the effect that population size has on sample size. I've heard it both ways. My friend's notes say "population size has little to no effect on sample size." But then I have answered multiple choice questions where population size was the answer pertaining to the biggest effect on sample size. Does anyone have any clarity on this? Thanks,