There is no one way to create a market survey. Let me give you a few suggestions.
First, you need to know what your resources are. If you have little resources, then your survey might have to be more realistic. If the sky is the limit, then you can do more.
Second, you need to determine what you want to market and figure out the best way to conduct the survey. If you want to sell a product to older people, you probably will not want to have an on-line survey, because they might not be computer savvy. So, the method of survey is important.
Third, you would want to have a random sample of people to survey, so that your survey would be an accurate reflection of the people that you want to get information from about your product or service.
These points should get you started.