I don’t understand your question. This post is tagged as Formulas, Automations, and Custom Apps, which makes it a bit difficult to get a picture of what you’re trying to achieve.
It sounds like you have a field for {Company Name}
and an attachment field for {Logo}
but are tying to get those two to combine into one field. You cannot have an image appear alongside text within a field. Field values are either text or attachments, and never a combination.
Also what do you mean by “main record”, and how does it relate to whatever record stores the {Company Name}
and {Logo}
fields you’re trying to combine?