I am occasionally getting the “Cannot execute specified command” error message with an @Command and can’t figure out why. Here is the code I’m using:
@Command([EditDown]; “1”);
@Command([EditInsertFileAttachment])
The button is hidden so it’s not displayed until in edit mode. The button and the field to attach the files to are in a standalone table, on separate rows, one below the other.
What could be causing the problem? It works on some documents and not others, but always works when the document is new.
Subject: Problem with @Command
Maybe i’m not totally understanding where you are puttin it - buuuuttttt…
First off - the field you are trying to do the attachment in is a rich text field - correct?
next - are you ending up in the field the attachment is supposed to show up in?
If the answer is no to the first one change the field type to rich text
If the answer is no to the second one you are probably going to have to use a editgotofield command rather than edit down.
I’ve seen this before - try those
Subject: RE: Problem with @Command
Thanks for the response Darren. I replaced the “editdown” with the “goto” command as you suggested, and all is well.
Kurt