Embedded view and cannot execute the specified command

Hello

I’ve put an embedded view on a form. From this point onwards, I get the cannot execute the specified command error whenever I open the form - either new document or in read or edit mode.

If I remove the embedded view, the message goes away.

Is there anything I should check?

Thanks

Subject: embedded view and cannot execute the specified command

I’d examine the view that was embedded (not the embedded view object) to see what code is being run on PostOpen, QueryOpen, and the Initializes.

If nothing shows up there, take a look at the Hide formulas for any actions.

Subject: RE: embedded view and cannot execute the specified command

Thanks

That fixed it.

I had a @command([viewcollapseall]) on the post open event of the view.