Loads and executes the dataport that you specify. The dataport is run modally. If, at design time, you do not know the specific dataport that you want to run, use this function or the. If you do know the specific dataport that you want to run, you can use the or the .
DATAPORT.RUNMODAL(Number [, ReqWindow] [, Record])
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.
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.
Specifies which record to use in the dataport. Any filters attached to the record that you specify will be used.