Marks the specified row in the given record group for subsequent programmatic row operations. Rows are numbered sequentially starting at 1. If you select rows 3, 8, and 12, for example, those rows are considered by Oracle Forms to be selections 1, 2, and 3. You can undo any row selections for the entire group by calling the RESET_GROUP_SELECTION Built-in.
SET_GROUP_SELECTION
(recordgroup_id RecordGroup,
row_number NUMBER);
SET_GROUP_SELECTION
(recordgroup_name VARCHAR2,
row_number NUMBER);
Built-in Type unrestricted procedure
Enter Query Mode yes
/*
** Built-in: SET_GROUP_SELECTION
** Example: Set all of the even rows as selected in the
** record group whose id is passed-in as a
** parameter.
*/
PROCEDURE Select_Even_Rows ( rg_id RecordGroup ) IS
BEGIN
FOR j IN 1..Get_Group_Row_Count(rg_id) LOOP
IF MOD(j,2)=0 THEN
Set_Group_Selection( rg_id, j );
END IF;
END LOOP;
END;