Description: Opens a dialog for adding runs with a specified current status to a launch. Confirmation inserts LaunchRuns records and updates every selected run to the requested new status.
Calling convention: CIP_RaceLab_Call_SelectRuns("LaunchID": Integer, "OfferedStatus": String, "StatusToSetForSelected": String): Boolean
Parameters:
LaunchID: target launch database ID.
OfferedStatus: exact status text used to filter offered runs.
StatusToSetForSelected: exact status text assigned to selected runs.
Returns: TRUE when the selection dialog finishes with OK; FALSE on Cancel. Invalid arguments display a script error and leave the result as Variant NULL. Inserts and status updates are not wrapped in one transaction by this dialog.
Availability: Conditional: available only in builds compiled with CIP_RACELAB. Requires an interactive desktop session, write access and the RaceLab/Chemspeed configuration.
Example:
Selected := CIP_RaceLab_Call_SelectRuns(LaunchID, "In definition - OK", "Selected for XML");