When you create the new data source to SQL server be sure to use an sql user (don't use integrated windows authentication) By using an sql user and check the box for Save Password then the credentials will be saved within Connect field of MSysObjects table in access.
--please don't forget to upvote
and Accept as answer
if the reply is helpful--