A script-enabled browser is required for this page to function properly.

DELETE_GROUP Built-in

Description

Deletes a programmatically created record group.

Syntax

PROCEDURE DELETE_GROUP
(recordgroup_id RecordGroup);

PROCEDURE DELETE_GROUP
(recordgroup_name VARCHAR2);

Built-in Type unrestricted procedure

Enter Query Mode yes

Parameters

recordgroup_id 
 
The unique ID that Oracle Forms assigns when it creates the group. The data type of the ID is RecordGroup.
 
recordgroup_name 
 
The name you gave to the record group when creating it. The data type of the name is VARCHAR2.

DELETE_GROUP Restrictions

This Built-in cannot be used to delete a record group that was created at design time.

DELETE_GROUP Examples

/*

** 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;