Error while creating record group [message #452671] |
Fri, 23 April 2010 05:18 |
sumedh7
Messages: 31 Registered: March 2007 Location: Pune,India
|
Member |
|
|
Hi,
i want to populate value into list item from below record group
DECLARE
channel recordgroup;
banks recordgroup;
errcode NUMBER;
errcode1 NUMBER;
m_stmt VARCHAR2 (100);
BEGIN
m_stmt :='SELECT DISTINCT RI_TYPE FROM COMPETETITION_DATA_UPLOAD';
IF ID_NULL (channel)
THEN
channel := CREATE_GROUP_FROM_QUERY ('CHANNEL', m_stmt);
END IF;
errcode := POPULATE_GROUP (channel);
POPULATE_LIST ('BDE.REIMBURSEMENT_TYPE', channel);
END;
but i'm getting following error in forms
FRM-41334 Invalid Record Group for list population
Please advice where it is wrong.
Thank You
CM: Added [code] tags, please do so yourself next time - see the orafaq forum guide if you're not sure how.
[Updated on: Fri, 23 April 2010 07:16] by Moderator Report message to a moderator
|
|
|
Re: Error while creating record group [message #452696 is a reply to message #452671] |
Fri, 23 April 2010 07:15 |
cookiemonster
Messages: 13963 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
From form builder help topic on POPULATE_LIST Built-in:
Quote:
Removes the contents of the current list and populates the list with the values from a record group. The record group must be created at runtime and it must have the following two column (VARCHAR2) structure:
Column 1: Column 2:
the list label the list value
How many columns does your group query have?
|
|
|