Creates an Automation object.

[Ok :=] CREATE(Automation [,NewServer] [,OnClient])



Type: Automation

A variable that has previously been declared.


Type: Boolean

If NewServer is false (the default), CREATE will try to reuse an already running instance of the automation server referenced by Automation before creating a new instance. If NewServer is true, CREATE will always create a new instance of the automation server.


Type: Boolean

If OnClient is false (the default), then the Automation object is created on the Microsoft Dynamics NAV Server. If OnClient is true, then the Automation object is created on the client.

This parameter is only valid when you run the function on the RoleTailored client. On the Classic client, the Automation object is always created on the client.

Expand imageProperty Value/Return Value

Expand imageRemarks

Expand imageSee Also