Lotus Notes 5:Upon Executing the @Command([AttachmentView]) it gives a prompt”Cannot Execute The Command”

pts.
Tags:
Development
Hi All ! Q)Upon Executing the @Command([AttachmentView]) it gives a prompt"Cannot Execute The Command". Please could anyone let me know its causes and suggest the necessary corrective action. Thanks Ravi.

Answer Wiki

Thanks. We'll let you know when a new response is added.

This is from the Designer Help:

1. A document must be open in Read or Edit mode.
2. A form or subform must be open in Design mode.
3. An attachment must be selected.

This @command does not work when used in a hotspot button. The hotspot button takes focus away from the attachment that must be selected to be viewed. Use in an action button instead.

This command does not work on the Web.

As you can see you have to select the attachment before this command can be run. You have to select the attachment before you run the @Command. That is most likely what your problem is.

Good luck in solving this one. Depending on exactly what you are trying to do you may need to write the code as LotusSctipt.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following