REP-1213: Field references column at a frequency below its group
Is there a way of making a field which is on a lower level group to be displayed in a group which is at a higher level in the report?
I have a field which is within a lower level group on a report and I want it to appear as a header, within a group which is a level above its own group. The field should remain in its original group but should not appear on the report as a column within its original group but should appear as part of the heading.
I have tried it and got error REP-1213: Field references column at a frequency below its group, but how can I achieve what I want to do without getting this error? Is there a way of showing this field on the header without actually moving it into the header group? Should I create an alias or a function or what and how?
Please help.
user8655468 wrote:
Sorry, I don't seem to get you. MY report has 2 repeating groups. The first group has student_name, course_code, course_name and the 2nd group has academic_year, module_name, module_code and module_grade. Academic_year which is in the 2nd group has to appear as a heading together with the items in the first group but it can not be moved from its original group as it goes together with modules. The report displays a history of a student's modules from 1st year to current year so the Academic year on the header will have to show the current Academic year for a student.
I don't understand how I should use a summary column to achieve what I want to do. Please can you explain further. Thanks.I think you know about summary column. If your academic year is number filed, you can use it at summary column. Where summary function is sum. You take this summary column at 1st group and select source from 2nd group. Then display it at 1st frame.
Hope this will help you..
If someone's response is helpful or correct, please mark it accordingly.
Similar Messages
-
COLUMN AT A FREQUENCY BELOW ITS GROUP
HI
I AM NEW TO REPORTS ..IAM DEVELOPING A MATRIX REPORT .I AM GETTING THIS ERROR CAN ANY ONE HELP WHT I SHUD DO TO SOLVE THIS
REP-1213 :'FIELD F_VET_YES' REFERENCES COLUMN VET_YES AT A FREQUENCY BELOW ITS GROUP
Thanks in advancei got the solution .. i referenced groups interchangingly ..:)
-
REP-1213: Field F_1 references column EMPNO at a frequency below its group
Hii guys
My goal is to display my desired database column where ever i want to on the report layout.For this Purpose
I ran the following query
1.SELECT * FROM EMP WHERE EMPNO='7369' in the Data Model.
2.I then created a field in layout view and gave field source as EMPNO
3.On Report Run following error was encountered.
REP-1213: Field F_1 references column EMPNO at a frequency below its group
Kindly help me in fixing this problem
Regards
Fahad Hameeddsegard
Thanks for the tip.I fixed that and now i feel i've some control over my layout.
How can i apply an image as a water mark throughout my report ??
Regards
Fahad Hameed -
REP - 1213 Reference column frequency below its group
Hi,
In a report (6i) it is showing Error like "REP - 1213 field F_SUM_COLLECTIONS_RATIO
Reference column CS_COLLECTION_RATIO at a frequency below its group"
As I know this is a problem of repeating frame problem:-
1. How can I check this error ? And How can resolve this problem?
Note:-
In this sales_ratio,collection_ratio,sales?coll._ratio I added Corr. formula columns and create summary
columns corr. to each.
This summary columns having problem.Good morning,
What I have found is that every time I have this problem, it is because during the manipulation of report items, I have inadvertently moved an item outside of its parent block.
If you expand the size of your report layout editor (control-key and PLUS key [ ctrl+]), you can usually see where the item has strayed outside of its parent report block.
I hope this helps,
Don.
REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone! :) -
Field F_1 references column colname at a frequency below its group.
Hi
I have 2 queries in my report. One for Summary section and one for detail section. The detail is nothing but details of the summary section on the top.
I created a repeating frame for the detail and have set the source to the 2nd query -that is for the detail section.
However, when I add a field and set the source to a column from query I get the following error:
Field F_1 references column <colname> at a frequency below its group.
What am I doing wrong here?
Ant help appreciated.
Thx!Hi
If that was the case then it wouldnt be like summary and detail as I specified in earlier posts. It is not 1:1.
Another thing I was tryng to accomplish was that in the detail section, I need the country and then the cities and rest of the details specific to that country below it. This way I want the categorization by country.
Example:
Country: USA
New York
San Francisco
Chicago
Boston
Country: Canada
Toronto
Montreal
Halifax
What I am getting right now is:
Country: Canada
Toronto
Country: Canada
Montreal
Country: Canada
Halifax
and so on
Each of these cities within Canada occur in different repeating frames. I want one frame per country.
How may I accomplish that?
Again, Query1 = Selects distinct countries on a specific criteria
Query 2: Selects details for all the countries selected in query 1
Thx!
Message was edited by:
b~o~s~t~o~n -
REP-1213 Fld 'Fld Name' references col 'Col Name' @ freq below its group
I have a report with a repeating frame. The report was working fine until I decided to do some more 'tweaking'. I somehow lost the repeating frame. I went ahead and added a new repeating frame and I'm now getting the following error:
"REP-1213: Field 'F_Customer_name' references column 'Customer Name' at a frequency below its group."
I read about the error in the help but, I dont know exactly what it means.
PLEASE HELP!!hello,
if you are going to the layout model you can move elements
forward and backward. the easiest way ist to select all fields
in the layout model (if they are behind the repeating frame you
will not be able to select them by clicking, use the object
navigator to select them instead)) and use the BRING TO FRONT
menu item.
regards,
the oracle reports team --pw -
Good Morning Everyone,
We have to put a field and we create a field.
We assign the value by:
Property Inspector
Field
Source
Select the Drop down menu
We have a following Report Builder sign:
REP-1213: Field'F_1' references column 'Column' at a frequency below its group.
If you have experiences, please share with us.
Thanks in advance,
S!GYou can see our challenges
http://apexny.blogspot.com/
Thank user8674910,
We did not want to remove the column and set the source of the repeating frame.
Any option?
We created Frame and add a Field to assign the column.
We tried Repeating Frame, too. We have same REP-1213.
In dataModel:
We created PlaceHolder Column CP_1
Drag and Drop the Colum
We still have the REP-1213 error.
Fortunately, we founded differnt approch in today. Happy St. Partick's Day!
If you have a chance, please share with us.
Thanks,
Edited by: Sea!Gull on Mar 11, 2011 12:51 PM
Edited by: Sea!Gull on Mar 17, 2011 8:01 AM -
I ADD A FIELD AT REPOT MANUALLY AND GIVE HIM SOURCE OF A SUMMRY COLUMN .I RECIVE ERROR MESSAGE( REP:1213 FIELD REFERENCES COLUMN BELOW ITS FREQUENCY).I FACE THIS PROBLE MANY TIMES.WUT IS SOLUTION OF THIS.
From Reports help:
Move the field into a repeating frame whose source group is at or above the group that contains the field's source column. Otherwise, move the field's source column into the enclosing repeating frame's group, if possible.
I suggest you move your fields around in your layout, moving a field out of 1 repeating frame into another. See how the data model, groups and layout are related. -
CUSTOM REPORT PROBLEM - REP-1213
I am a student trying to complete a project. I developed a
"custom" report form which uses 5 tables to generate the report.
I have entered the 'fields' at various locations on the report
form and when I run the report I get the following error message:
"REP-1213: Field 'client_id' references column 'CLIENT_ID' at a
frequency below its group."
I have presented this problem to my instructor who does not have
a solution to resolve this problem for me. Is there a solution
for this? Or ... does Oracle not allow for 'custom designing'
of reports? How does someone develop a custom made invoice or
other report for a client without encountering these problems?
Anybody's assistance in this matter would be greatly appreciated.
BO
nullHere is some information that may be of help. This is straight
from Oracle. read the part on FREQUENCY ERRORS carefully.
You may also retrieve this document from:
otn home page --> support --> technicial bulletions -->
sql*reportwriter --> 9006913.61
P.S. reportwriter frames have kicked manny asses!!
Good luck.
Document ID: 9006913.61
Title: Understanding Frames
Revision Number 0
Product: Oracle Reports
Platform: GENERIC
Abstract: This document provides a better
understanding
of frames and the layering concept.
Also
discusses frequency errors.
Keywords: REPEATING;FRAME;VARIABLE;FIXED;EXPAND;
CONTRACT;FREQUENCY;
INTRODUCTION
There are two types of frames: Repeating frames and non-repeating
frames.
Each is a visual representation of actual 3GL code that underlies
the action
of fetching and printing the rows selected from tables.
Non-repeating frames
act as containers and can be mapped back to the pseudocode: BEGIN
and END.
Repeating frames are representations of the Fetch Cycle and can
be mapped to
the pseudocode: WHILE NOT END OF TABLE and END WHILE.
Graphically, frames are stacked one atop the other. This may not
be
immediately apparent. It is difficult to distinguish which frame
is beneath
another. A quick way to see the three-dimensional layering is to
change the
color of the frames. Make each frame a different color. This
will create a
three-dimensional effect as frames above will partially obscure
those beneath
it. You will also notice the layering structure when using the
object
navigator in Reports V2.5
NON-REPEATING FRAMES
Non-repeating frames are not record-related. They print as often
as the
object in which they are enclosed, or to which they are attached
by an anchor.
They do not have a print direction.
REPEATING FRAMES
Repeating frames are place holders for records. Repeating frames
print once
for each record of a group and control record-level formatting.
Reports will
generate one repeating frame for each group when you create a
default layout.
Reports will place containers of columns inside of the frames.
Each repeating
frame retrieves only one row in its fetch cycle for any one
repetition. Until
it is constrained by another frame, it will repeat itself until
the while loop
condition can no longer be satisfied.
VERTICAL AND HORIZONTAL SIZING
The Vertical Sizing of a repeating frame will default to FIXED if
all the
objects in the repeating frame are fixed. If the repeating frame
encloses an
object (e.g. field, frame) that grows, then the vertical sizing
defaults to
VARIABLE or EXPAND.
FIXED
If the Vertical Size of the frame is FIXED then the object's
height is the
same on each logical page, regardless of the size of the objects
or data
within it. Truncation of data may occur. The height of the
object in the
layout editor is the actual height of the object at runtime. No
special
symbol is indicated on the frame in the layout editor.
VARIABLE
If the frame's Vertical Sizing Attribute is VARIABLE and there is
nothing
below it, it collapses. For example, if it normally is four lines
long and
only one row is returned, then it will not print three blank
lines but will
actually collapse the output to one line. If you drag the
position of the
fields downward, the space above will not collapse because of the
IMPLICIT
ANCHOR. The object will expand or contract vertically to
accommodate the
objects or data within it. The height shown in the layout editor
has no
effect on the object's height at runtime. The vertical sizing
attribute
functions as if you used a combination of contract and expand. A
diamond
symbol is indicated on the frame in the layout editor.
EXPAND
If the frame's Vertical Sizing Attribute is set to EXPAND, it
will begin at a
minimum size defined by the frame, and will expand as necessary
to accommodate
more data or lines that exceed the length of the column. An
equal sign symbol
is indicated on the frame in the layout editor.
CONTRACT
If the frame's Vertical Sizing Attribute is set to CONTRACT, the
vertical size
of the object decreases if the formatted objects or data within
it are short
enough, but it cannot increase to accommodate larger data.
Truncation may
occur. A circle is indicated on the frame in the layout editor.
FREQUENCY ERRORS
You may receive frequency errors when a repeating frame is moved
or deleted,
thus changing the layering of the frames. Often, users may
attempt to correct
this error by adding the deleted frame back, but this does not
fix the
problem. The existence of the frame is not enough, even it is
does not
overlap other objects in the layout. The frame must also be in
the right
position within the hierarchy. In addition to recreating the
deleted frame,
you must push the new frame to the right layer using the ARRANGE
option on the
Layout menu.
If you move an object outside its native frame, then you must
enclose it
within a repeating frame to group it within the same loop.
Oracle Worldwide Customer
Support
null -
Hi, I have created a Formula Column with PL/SQL function in a group query to generate a report. When I call this Formula Column from the report, an error occurs:
"REP-1213 Field 'F_1' references column 'Trade_Disc' at a frequency below its group"
How to I correct this error?
Thank you.
JoeyHi, I refer this problem to the metalink (Doc ID: 1004004.6). But can someone tell me what does it mean by "detail field" in this statement:
"Make sure no detail field is referenced on the repeating frame of a master. It should be on its own repeating frame otherwise the frequency difference between the two will give REP-1213. This is also true for summary field on detail column."
Does this mean by the 'F_1' field is the detailed field? Please advise.
P/S: The 'Trade_Disc' formula column is in the main group.
Joey -
Rep : 1213 Frequency below group error
Hi,
How can I solve the error in a 6i reports having error ' Rep : 1213 Frequency below group error'.
It occurs when I am putting a ' field' in to the header part of the report. and the source setting as
the CREATION_DATE , ie 'AMMI_PO_REQUISITION_ALL_V.CREATION_DATE.
And same error showing when putting field at footer side also. source as AMMI_PO_TO_PEOPLE_V.NAME.
How can I solve this problem?
The query of the report is giving below:
SELECT ALL AMMI_PO_REQUISITION_ALL_V.REQUISITION_HEADER_ID,
AMMI_PO_REQUISITION_ALL_V.REQUISITION_NO, AMMI_PO_REQUISITION_ALL_V.REQUISITION_LINE_ID,
AMMI_PO_REQUISITION_ALL_V.CREATION_DATE, AMMI_PO_REQUISITION_ALL_V.LINE_NUM,
AMMI_PO_REQUISITION_ALL_V.ITEM_ID, AMMI_PO_REQUISITION_ALL_V.QUANTITY,
AMMI_PO_REQUISITION_ALL_V.PREPARER_ID, AMMI_PO_REQUISITION_ALL_V.SUPPLIER,
AMMI_PO_REQUISITION_ALL_V.ITEM_CODE, AMMI_PO_REQUISITION_ALL_V.ORGANIZATION_ID,
AMMI_PO_REQUISITION_ALL_V.DESCRIPTION, AMMI_PO_REQUISITION_ALL_V.PURPOSE,
AMMI_PO_REQUISITION_ALL_V.BALANCE, AMMI_PO_TO_PEOPLE_V.NAME
FROM AMMI_PO_REQUISITION_ALL_V, AMMI_PO_TO_PEOPLE_V
WHERE (AMMI_PO_REQUISITION_ALL_V.PREPARER_ID = AMMI_PO_TO_PEOPLE_V.PERSON_ID)
and AMMI_PO_REQUISITION_ALL_V.REQUISITION_NO=:P_requisition_no
and AMMI_PO_REQUISITION_ALL_V.ORGANIZATION_ID=(select ORGANIZATION_ID from AMMI_ORGANIZATIONS_V where name=:P_organization)
with regards NASEER.Hi
Thanks to the reply.
In Data modeler I put one placeholder column in side the group. and write function
as given below.
function CF_1Formula return Char is
X VARCHAR2(30);
begin
select name into x from AMMI_PO_REQUISITION_ALL_V where REQUISITION_NO= :p_requisition_no;--from parameter form
return(x);
end;
but it is showing Error like 'identifier AMMI_PO_REQUISITION_ALL_V must be declared'
AMMI_PO_REQUISITION_ALL_V is a view used in the report.
1. Why this error ?
2. Where exactly shall I put this placeholder column in data modeler? in side the group or out side?
With thanks
Naseer -
FORMAT TRIGER 'B_5' REFERENCES COLUMN 'DT' AT WRONG FREQUENCY
I have a field B_5 as page footer & I have written the following code
function B_5FormatTrigger return boolean is
begin
-- Automatically Generated from Report Builder.
if :dt >= '02-oct-2007'
then
return (FALSE);
end if;
return (TRUE);
end;
when I execute the report it returns an error that
FORMAT TRIGER 'B_5' REFERENCES COLUMN 'DT' AT WRONG FREQUENCY
How can I get rid of this error ?Hi
Check if DT belong to the correct frame or repeating-frame. -
Summary, decode REP 1213
Hello Everyone!
We are trying display data from a table;
by date, year
by categories
summary of date, year
summary of categories
We used Summary, Summary column, decode, and calculations for requirements.
After modify in report editor, the REP 1213 appeared so that we have to start over again.
We are tesing Data link now.
If you knew better way, please share with us.
Thanks in advance,
S!G
Edited by: Sea!Gull on Aug 26, 2011 8:35 AMDescribe the cause and remedyCause: The source column for the field is in a group below that of the repeating frame which encloses it.
Action: Move the field into a repeating frame whose source group is at or above the group that contains the field's source column. Otherwise, move the field's source column into the enclosing repeating frame's group, if possible.
(that was just a copy-paste from the Help. You could have done that yourself). -
Hi all,
I used the following code to create a new Database (ScottChangDB) and a new Table (marvel) in my SQL Server 2012 Management Studio (SSMS2012) successfully:
-- ScottChangDB.sql saved in C://Documents/SQL Server XQuery_MacLochlainns Weblog_code
-- 14 April 2015 09:15 AM
USE master
IF EXISTS
(SELECT 1
FROM sys.databases
WHERE name = 'ScottChangDB')
DROP DATABASE ScottChangDB
GO
CREATE DATABASE ScottChangDB
GO
USE ScottChangDB
CREATE TABLE [dbo].[marvel] (
[avenger_name] [char] (30) NULL, [ID] INT NULL)
INSERT INTO marvel
(avenger_name,ID)
VALUES
('Hulk', 1),
('Iron Man', 2),
('Black Widow', 3),
('Thor', 4),
('Captain America', 5),
('Hawkeye', 6),
('Winter Soldier', 7),
('Iron Patriot', 8);
SELECT avenger_name FROM marvel ORDER BY ID For XML PATH('')
DECLARE @x XML
SELECT @x=(SELECT avenger_name FROM marvel ORDER BY ID FOR XML PATH('Marvel'))--,ROOT('root'))
SELECT
person.value('Marvel[4]', 'varchar(100)') AS NAME
FROM @x.nodes('.') AS Tbl(person)
ORDER BY NAME DESC
--Or if you want the completed element
SELECT @x.query('/Marvel[4]/avenger_name')
DROP TABLE [marvel]
Now I am trying to create my first XML Schema Collection to do the Validation on the Field Name (Column Title) of the "marvel" Table. I have studied Chapter 4 XML SCHEMA COLLECTIONS of the book "Pro SQL Server 2008 XML" written by
Michael Coles (published by Apress) and some beginning pages of XQuery Language Reference, SQL Server 2012 Books ONline (published by Microsoft). I mimicked Coles' Listing 04-05 and I wanted to execute the following first-drafted sql in
my SSMS2012:
-- Reference [Scott Chang modified Listing04-05.sql of Pro SQL Server 2008 XML by Michael Coles (Apress)]
-- [shcColes04-05.sql saved in C:\\Documents\XML_SQL_Server2008_code_Coles_Apress]
-- [executed: 2 April 2015 15:04 PM]
-- shcXMLschemaTableValidate1.sql in ScottChangDB of SQL Server 2012 Management Studio (SSMS2012)
-- saved in C:\Documents\XQuery-SQLServer2012
tried to run: 15 April 2015 ??? AM
USE ScottChangDB;
GO
CREATE XML SCHEMA COLLECTION dbo. ComplexTestSchemaCollection_all
AS
N'<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="marvel">
<xsd:complexType>
<xsd:all>
<xsd:element name="avenger_name" />
<xsd:element name="ID" />
</xsd:all>
</xsd:complexType>
</xsd:element>
</xsd:schema>';
GO
DECLARE @x XML (dbo. ComplexTestSchemaCollection_all);
SET @x = N'<?xml version="1.0"?>
<marvel>
<avenger_name>Thor</name>
<ID>4</ID>
</marvel>';
SELECT @x;
GO
DROP XML SCHEMA COLLECTION dbo.ComplexTestSchemaCollection_all;
GO
I feel that drafted sql is very shaky and it needs the SQL Server XML experts to modify to make it work for me. Please kindly help, exam the coding of my shcXMLTableValidate1.sql and modify it to work.
Thanks in advance,
Scott ChangHi Scott,
2) Yes, FOR XML PATH clause converts relational data to XML format with a specific structure for the "marvel" Table. Regarding validate all the avenger_names, please see below
sample.
DECLARE @x XML
SELECT @x=(SELECT ID ,avenger_name FROM marvel FOR XML PATH('Marvel'))
SELECT @x
SELECT
n.value('avenger_name[1]','VARCHAR(99)') avenger_name,
n.value('ID[1]','INT') ID
FROM @x.nodes('//Marvel') Tab(n)
WHERE n.value('ID[1]','INT') = 1 -- specify the ID here
--FOR XML PATH('Marvel') --uncommented this line if you want the result as element type
3)i.check the xml schema content
--find xml schema collection
SELECT ss.name,xsc.name collection_name FROM sys.xml_schema_collections xsc JOIN sys.schemas ss ON xsc.schema_id= ss.schema_id
select * from sys.schemas
--check the schema content,use the name,collection_name from the above query
SELECT xml_schema_namespace(N'name',N'collection_name')
3)ii. View can be viewed as virtual table. Use a view to list the XML schema content.
CREATE VIEW XSDContentView
AS
SELECT ss.name,xsc.name collection_name,cat.content
FROM sys.xml_schema_collections xsc JOIN sys.schemas ss ON xsc.schema_id= ss.schema_id
CROSS APPLY(
SELECT xml_schema_namespace(ss.name,xsc.name) AS content
) AS cat
WHERE xsc.name<>'sys'
GO
SELECT * FROM XSDContentView
By the way, it would be appreciated if you can spread your questions into posts. For any question, feel free to let me know.
Eric Zhang
TechNet Community Support -
Order Source Reference Column in Sales Order Form
Hi All,
When copying a sales order that is imported from EDI, the order source reference column in the new order refers to the original order. Is there a way to make this field refer to the same field of the original order? Or at least make it editable/updatable?
Thanks
A/HNot sure personalization will solve this problem. Other options:
1. Workflow
2. Post Hook Events
3. trigger?
Thanks
Nagamohan
Maybe you are looking for
-
You might experience the problem that someone send you an email but the message never reaches your inbox. You already double checked with the sender and she/he is pretty sure about the address entered. Now, what’s next? Actually, there are lots of sc
-
Mini Cooper, iPhone 5 iOS 7 and adapter
We have a problem with the iPhone 5 adapter in our Mini Cooper. Audio and Mini Connected is not working. At BMW and Mini they told me I need to wait for a new model of this adapter. When can I buy this compatible adapter?
-
Photo Booth version 3.0 (115) works fine on my iMac w/ SL but it crashes on my Macbook under the same conditions. I would appreciate any comments that might help me. I've even thought of trashing it, if I could find where to download it and reinstall
-
Hi , I have a requirement in which i hav to skip the output screen for report " RSBDCSUB ". Any pointers will be greatful. Thanks in advance Regards Rahul
-
how to lock a client (i want to lock a particular client 300). can u tell me procdure urgent. i wil give u good points..... thanks & regards sathish