Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.
SalBoolean RecordSelectionListSetSelect(SalNumber nItem)
The RecordSelectionListSetSelect selects the specified item in the combo box and repopulates the window.
Name | Description |
---|---|
SalNumber nItem | Number of item to select. |
The return value is TRUE if the item was successfully selected, FALSE otherwise.
Calling RecordSelectionListSetSelect simulates the user selecting the item manually.
If DataTransfer.RecCountGet () > 0 ! Putting data at the destination when using cRecSelComboBox: Call SalWaitCursor(TRUE) Call InitFromTransferedData() Call DataTransfer.Reset() Call cmbOrderId.RecordSelectionListSetSelect( 0 ) Call SalWaitCursor(FALSE) Return FALSEif (Ifs.Fnd.ApplicationForms.Var.DataTransfer.RecCountGet() > 0) { Sal.WaitCursor(true);Ifs.Fnd.ApplicationForms.Var.DataTransfer.Reset(); InitFromTransferredData(); cmbSupplierId.RecordSelectionListSetSelect(0); Sal.WaitCursor(false); return false; }