Problem with @Command([AttachmentView])

I have problem with @Command([AttachmentView])

iam using this in adocument which is opened in edit mode.It is prompting an error message"Can not execute the specific command "

.Before using this action I selected the attachment in the field.

Thanx in advance

Subject: Problem with @Command([AttachmentView])

If the code is in a hotspot, then the process of clicking on the hotspot will deselect the attachment.

You could try putting the code in an action button, or adding an [EditGotoField] and [EditSelectAll] commands prior to your [AttachmentView].

HTH - Rufus.