@Command([FileOpenDatabase]; Server : Database)

When I run this formula languague in the form @Command([FileOpenDatabase]; “EMSCLA12”: “Names.nsf”)

Where EMSCLA12 is servername, and Names.nsf is name of db, and I do the following error:

“Command and other UI function are not allowed in this context”

The database I am running this form is currently located on another server.

Can someone tell me what am doing wrong in here and how can I get it working?

Thanks,

Dinh Nguyen

Subject: @Command([FileOpenDatabase]; Server : Database)

Read the help:

@Commands and other UI functions are not allowed in this context

What happened

If a database was designed in a previous release of the Domino Designer, you see this message when the designer has used an @command or action that isn’t allowed.

For example, you may see this message when attempting to open a document, because the designer misused @commands in the form used to create that document.

What you can do

Tell the database designer what you were doing when you saw the message

If you are the database designer, check for misuses of @commands or actions and remove them from the design.

For example, if a user reports that the above message appears when the user opens documents, check the form for buttons that are trying to execute menu commands such as @command([FileSave]) while the document is not yet in edit mode. In addition to examining buttons, examine input validation formulas and other formulas where there may be @commands entered.