Investors of all ages value their financial advisor's services during the current market environment, but opinions about what an advisor can and can’t do vary by generation, according to a recent survey.

Nine in 10 investors working with an advisor say they put more value on their advisors’ knowledge and guidance amid today’s market volatility and rising inflation, State Street Global Advisors says it found in a survey of 243 adults with $250,000 or more in investable assets.

The survey was fielded from June 28 to July 5.

In addition, 86% of investors working with advisors believe that their advisor has helped keep them confident during the current period, State Street found. And 49% of investors — regardless of whether they have an advisor — believe it’s better to work with one during volatile times, according to the survey.

The study also showed that middle-age investors are less confident in an advisor's value. And among Gen X respondents, only 42% believe it’s better to have an advisor’s guidance, according to the survey. Among millennials, advisor support rises to 63%, State Street says.

Gen X investors’ top reason for steering clear of an advisor? A preference to keep full control over investment decisions, cited by 46%. But 41% also “don’t trust that financial advisors have their best interest in mind,” State Street says.

“Advisors have an opportunity to cultivate trusting, collaborative relationships with Gen X clients who want to remain involved in making their own investment decisions to a greater extent than other generations,” Allison Bonds, head of private wealth management at State Street Global Advisors, said in a statement. “Gen X’ers are in their peak earning years and in the accumulation phase of their financial planning, yet they are also juggling multiple financial priorities. This generation is currently sandwiched between taking care of their children and aging parents. Gen X is more likely to have children under 18 in the household, so discretionary spending can become stretched if they are also supporting aging parents.”