How to link a view´s field to attachment´s field?
So, my mistake, it is quiet simple. If you struggle with similar problem:
in the Attachment: 
-add a field content: NID, hidden

-In global: custom text add, for example, &lt;h3 class=[nid]&gt;[title]&lt;/h3&gt;

This way we have an NID anchor we can link to.

In the block view:
-add a field content: NID, hidden (so our link field gets NID as a value, not as a string "nid")

-we rewrite some field (for example title): output this field as a link. Link path: #[nid]

Voila, it works. My problem was I forgot to include content: nid in block view.