Deletes a programmatically created record group.
PROCEDURE DELETE_GROUP
(recordgroup_id RecordGroup);
PROCEDURE DELETE_GROUP
(recordgroup_name VARCHAR2);
Built-in Type unrestricted procedure
Enter Query Mode yes
This Built-in cannot be used to delete a record group that was created at design time.
/*
** Built-in: DELETE_GROUP
** Example: Delete a programmatically created record group
*/
PROCEDURE Remove_Record_Group( rg_name VARCHAR2 ) IS
rg_id RecordGroup;
BEGIN
/*
** Make sure the Record Group exists before trying to
** delete it.
*/
rg_id := Find_Group( rg_name );
IF NOT Id_Null(rg_id) THEN
Delete_Group( rg_id );
END IF;
END;