Trouble creating response to newly saved document

Hi!

I have a simple button with the following code:


@Command([FileSave]) ;

@PostedCommand([Compose];“B”)


This button is located on Form “A” in the action pane.

When a user creates a new A-document and clicks the button, he/she gets an error message. Not even when saving the document manually first (Ctrl+S), he/she can get the button to work. Only after closing and opening the A-document the button works as it should.

When I click the button in the same scenario (new A-document, no previous save) I get NO error message. A is saved and B is created and can be saved as a response document to A.

Translated from swedish, the error message is something like this:

“No documents are selected. Select the document that should be responded to.”

The user is a Editor so this shouldn’t be a problem.

Any hints or ideas to where the problem lies is highly appreciated.

Thanks in advance! =)

Regards

Frank

Subject: Trouble creating response to newly saved document

As I could realize if you test at the same sceneario, only change the user ID, no error shows up, right? It seems, even the user has Editor access, to be a permission trouble.

Can you check the Security tab (a little key) at Form Properties for the “B” Form?

That’s a guess, but I hope that helps!

-Gabriel Amorim