REP-1213
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!G
You 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
Similar Messages
-
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 -
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). -
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 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 -
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! :) -
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 -
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. -
Hi,
I am getting error-1259 in 9i report. It says group ------ has no break coloumns. Please help me to solve the problemHello,
Even I experience the same error and found the following while resolving the error:
If it is a Formula column then we dont need to specify any break order. The break order in this case can still be None.
In my case, the source formula column of the field was not in the desired group. Hence after moving the source formula column into the correct group, the error got resolved.
Thus sometimes, we can get REP-1259 instead of REP-1213.
This can occur especially when we are trying to modify an existing report query and as a result, the column grouping may change which then results in these errors.
Regards,
K. Sheetal -
How to print deposit number in top margin and reset pagination eavh change
I am using Report Builder 6.0.8.27.0 against a version 10 database
I have a built a report that works properly. It consists of about 1800 mineral deposits with one main frame cycling on the mineral deposit number and the frame contains a whole bunch of repeating frames containing detail information. Each mineral deposit may be one and 20+ pages long. The report works properly but I need to make the following additions..
1) At present, the mineral deposit number is only displayed on the first page of the report 'segment'. What I would like to do is have the deposit number displayed in the top margin on each page, next to the title but I am not sure how to do this.
I began by creating a field in the top margin, but when I change the Source of the Field (in the property palette) to the deposit number (a database field) I get the following error:
REP-1213: Field 'F-1' references column MDD_NO at a frequency below its group. This is obviously because this is in the margin and the deposit number occurs within the main repeating frame.
Any suggestions how I might do this - I'm afraid I'm not terribly familiar with reports - and don't have any good reference material at my fingertips. (Only the help files and digging through them is painful - especially when one is not sure what one is looking for.)
Any help woule be appreciated.
2) I would also like to create a special page number/sequence where each deposit would have it's own set of pagination
ie.: Deposit-001 page 1
Deposit-001 page 2
etc
and then reset when the deposit number changes
Deposit-002 page 1
Deposit-002 page 2
Basically, the idea is to restart pagination at each change in deposit number and change the deposit number to the current one. Again, I don't know how to do this.
The report will appear as a large pdf - which I know has it's own pagination. The reason I want the Deposit number and it's page sequence to appear in the top margin is to make it easier for the client to identify which pages belong to which deposit when they print out and work with 4 or 5 different deposits sets at the same time.
I realize I can achieve this by printing one pdf for each deposit, but 1800 individual pdf's is a bit much. to handle.
Thanks for whatever help you can give me
GlennHi,
just populate ur eventcat like this , may be this can help u
form zf_eventcat using p_it_eventcat type slis_t_event.
data l_eventcat type slis_alv_event.
clear l_eventcat.
*Get all the events.
call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 0
importing
et_events = p_it_eventcat
exceptions
list_type_wrong = 1
others = 2.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
TOP-OF-PAGE FORM
clear l_eventcat.
read table p_it_eventcat into l_eventcat with key
name = slis_ev_top_of_page.
if sy-subrc = 0.
move 'ZF_TOP_OF_PAGE' to l_eventcat-form.
modify p_it_eventcat from l_eventcat index sy-tabix
transporting form.
endif.
PF_STATUS_SET FORM
clear l_eventcat.
read table p_it_eventcat into l_eventcat with key
name = slis_ev_pf_status_set.
if sy-subrc = 0.
move 'ZF_PF_STATUS_SET' to l_eventcat-form.
modify p_it_eventcat from l_eventcat index sy-tabix
transporting form.
endif.
USER_COMMAND FORM
clear l_eventcat.
read table p_it_eventcat into l_eventcat with key
name = slis_ev_user_command.
if sy-subrc = 0.
move 'ZF_USER_COMMAND' to l_eventcat-form.
modify p_it_eventcat from l_eventcat index sy-tabix
transporting form.
endif.
endform. " zf_eventcat
reward if helpful -
How to set the tilte for a multilingual report
Hi all!
I am trying to display some titles for a report
that is multilingual (in each page)
I was thinking a bit and I came with two possible solutions.
for both solutions I create a field in
the main section in the margin section in the margin, called F_TITLE_1
solution 1
pass to the reports all the fields necessary for the title
and make all the queries in the forms.
but this solution I don't like. If I have to modify the title I have to modify the report and the form
solution 2
pass to the report a code_language : P_CODE_LANGUAGE
create a query on the report
the query is the following
select title as title_1 from titles where code_language = :P_CODE_LANGUAGE AND code_title= 12
and then I assigned to the property source (in F_TITLE_1)
title_1 (that comes from the query)
but when I want to se the report I have a an error
REP-1213 Field 'F_TITLE_1' references column 'title_1' at a frequency below its group
so, is there any way to solve this or a solution similar to this? I don't like the solution 1
AlejandroCheck if the column_title is in a group and keep the frame on top of the column
it will take care of your problemn -
Force the Summary Sub totals on same page as the Repeating Group
Hello folks,
I have a Group by Left Report where I am showing Patients and the Visits that they have taken for each Department.
I am then doing a Sub Total of the number of Visits the Patient has taken. I would like to make sure that the sub total shows
up on the same page as the data in the Repeating Group. I tried using an Anchor but the Report does not like it.
It gives an Error: REP 1213 - Field references column at a frequency below its group when I anchor from Repeating frame to the sub total footer
and REP 1814 Report cannot be formatted. Object 'Horizontally' can never fit within 'M_1' when I try to anchor the other way.
My goal is to show the Sub Totals (Total) on the same page as the Patient and not go to the next page. I have enclosed the single dashed line and the Total (Label and field) in a Frame.
Output of Report:
Patient ID Patient Name Department Visit
======================================================================
1001 Mary Poppins Department 001 3
Department 002 4
Department 003 1
Total 8
1002 Peter Pan Department 001 2
Department 002 1
Department 003 2
Total 5
-----------------------------Thanks in advance!Pls set the property(page protect of the frame containing both sub total and patient details) to yes.
-
URGENT: Repetitious Output
I am trying to create a report that is based on a person's timecard. We have written our own time collection module and in response to the user clicking a button, this report is to run to show the user's timecard.
Our timecard data has 2 main tables - the header and the lines. Each header has a unique TC_HEADER_ID and each line has a unique id and also has a field TC_HEADER_ID to tie it to its Header record. The report is run using one parameter - TC_HEADER_ID.
I have written 4 queries.
Q1 SQL
===================================
select distinct peo.Full_Name,lst.Assignment,lst.PAY_BASIS,lst.TC_HEADER_ID,prd.PERIOD_START_DATE,prd.PERIOD_END_DATE
from ... where...and hdr.TC_HEADER_ID = :p_header_id and lst.TC_header_id = hdr.TC_HEADER_ID...
=======================
Q2 is a PL/SQL Ref Cursor function that returns the lines
=================
Each record is a week's worth of data for a particular Hours Type (vacation, sick leave, overtime, etc.)including hours worked each day, date for each day, total hrs for week.
Cursor contains this code:
where hdr.tc_header_id = :p_header_id
and wt.tc_header_id = hdr.tc_header_id
and wt.TC_HOUR_TYPE_ID = ht.TC_HOUR_TYPE_ID
and hdr.TC_PERIOD_ID = prd.TC_PERIOD_ID
order by wt.Line_Start_Date, wt.Line_Number;
====================================
Q3 SQL query is independent. I'm just totaling up the number of hours of each type worked for the month.
=====================================
Q4 SQL query is independent. I'm getting the comments added to the timecard as it proceeds through the processes. They are stored in a table not referenced elsewhere in the report.
=====================================
My problem is that I get 25 pages of output instead of the expected 1 page. The first page looks good, just what I'd expect, but after that I get variations on the theme.
At this point I have all four queries disconnected. I had linked the first 2 by group, but that didn't do anything but increase the output.
I really don't understand the relationship between the data model's physical layout and the Report page layout's physical layout. Nor do I understand why I get a repeating frame for my main frame, which is what I think the problem is.
I thought my report should have a fixed frame with the info from the first query; then a repeating frame for each week; and inside that a repeating frame for each hours type for that week; then a fixed frame for each of my last 2 queries with a repeating frame inside each for each record.
Any help would be greatly appreciated. I'm under the gun!
Tricia RooffIs there any data on the pages?
If so, your queries are definitely wrong, since a lot of output is created by your queries.
If not, you may have set some properties wrong, like Page Break Before, Page Break after etc.
REP-1213 indicates that the layout does not correspond with the data model. You have put a field in the wrong frame somewhere. From the help:
Cause: 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.
A bit difficult to understand in the beginning, but after a while you'll understand what this means. I can't explain it any better.
All documents can be found on OTN:
http://otn.oracle.com/documentation/reports.html -
Reports: Repeating Frames
In one of the queries for my report I have a column which I don't want to be shown in to body but in the margin, but when I create a field with this column as source there I always get the message:
REP-1213 Field '<field name>' references column '<column name>' at a frequency below its group
its recommended to put the field into another frame, but I can't put it anywhere else;
any suggestions?
thx in advanceReshape the corresponding frame, so that it comprises the space where you wish to have that field. Beware, the higher level repeating frames have to comprise the lower level repeating frames. Repeating frames can't overlap.
Hope this will help.
Happy new year!
Maybe you are looking for
-
Apple TV not showing up in device list in iTunes
Apple TV stopped showing up in the devices list in iTunes when I tried to sync my movies, and iTunes froze in mid-sync. Since there is no "eject" button for Apple TV in iTunes, the only thing to do was to close iTunes. When I opened it up again...no
-
HT1727 how do i share itunes library with new iphone device?
I just bought a new iphone and set up new icloud account. How do I share my itunes librbary with this device/account?
-
FM 10.0.2 Patch released
A new patch is being pushed through the Updater right now. The new version is 10.0.2.419. The SaveAsPDF CMYK option should be reasonably reliable now, but please run a preflight before submitting to a print provider. From the Read Me file: 1. Followi
-
Build of DC fails libraries on classpath are not found - Please Help
HI Guys, I am trying to build an ejb dc. There are no errors showing up in NWDS but when doing an Development Component -> Build the Build fails with the errors here in the log - how can I make sure the libs are found at compiletime????? DC Model che
-
Hi All, i am facing a small issue regarding dynamic invocation of webservice from another webservice.... the probelm is when i tried to invoke a simple webmethod with string return type its working as expected.. and the same method is returning an ar