.. highlightlang:: us .. _reportcontrol_selupordown: ReportControl_SelUpOrDown ========================= .. index:: ReportControl_SelUpOrDown .. us.tag ReportControl_SelUpOrDown NOTREADYENGLISH New422 DialogBoxes :ref:`ReportControl_SelUpOrDown` is a helper function to modify the record order in a report control. Add a button to the control and call this function in the button callback function. .. function:: svInit = ReportControl_SelUpOrDown(svInit, iControl, bUp) .. us.return **Return Value** *svInit* is a string vector to initialize the dialog box, see :ref:`DialogBox` .. us.params **Parameters** .. uparam:: svInit *svInit* is a string vector to initialize the dialog box, see :ref:`DialogBox` .. uparam:: iControl *iControl* is the index of the report control and refers to the vector *svInit*. .. uparam:: bUp If *bUp* is TRUE (1) the selected records are moved up. Otherwise the records are moved down. .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - 4.2.2 - New .. seealso:: :ref:`overview-dialogboxes`, :ref:`DialogBox`, :ref:`ReportControl_RemoveSelection` :sub:`id-276744`