Export (0) Print
Expand All

DATAPORT.RUN Function (Dataport)

Microsoft Dynamics Nav 2009

Loads and executes the dataport that you specify. If, at design time, you do not know the specific dataport you want to run, use this function or the DATAPORT.RUNMODAL Function (Dataport). If you do know the specific dataport you want to run, you can use the RUN Function (Dataport) or the RUNMODAL Function (Dataport).


DATAPORT.RUN(Number [, ReqWindow] [, Record])

Parameters

Number

Type: Integer

The ID of the dataport that you want to execute. You can use the Symbols option on the View menu to choose from a list.

If the dataport you specify does not exist, a run-time error occurs.

ReqWindow

Type: Boolean

Specifies whether to display the request window for the dataport. The request window is part of the dataport object.

If the value is true, the request window is displayed before running the dataport. If the value is false, the dataport is run without displaying the request window.

Record

Type: Record

Specifies which record to use in the dataport. Any filters attached to the record that you specify will be used.

Community Additions

ADD
Show:
© 2015 Microsoft