rep-1213 - e360 hospitality https://e360hospitality.com Hotel Operations Training with Opera PMS Tue, 17 Oct 2023 17:07:15 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.3 230723257 REP-1213: Field references column at a frequency below its group in Oracle Reports. https://e360hospitality.com/opera-pms-technical/rep-1213-field-references-column-at-a-frequency/?utm_source=rss&utm_medium=rss&utm_campaign=rep-1213-field-references-column-at-a-frequency https://e360hospitality.com/opera-pms-technical/rep-1213-field-references-column-at-a-frequency/#comments Sat, 14 Oct 2023 02:15:33 +0000 https://e360hospitality.com/?p=299 REP-1213 simply means, in your report layout, you’re using/referring to a field within a Repeating Frame but the source query of this Repeating Frame does not contain this field. To […]

The post REP-1213: Field references column at a frequency below its group in Oracle Reports. first appeared on e360 hospitality.

]]>
REP-1213 simply means, in your report layout, you’re using/referring to a field within a Repeating Frame but the source query of this Repeating Frame does not contain this field.

To understand this error in detail, we have built a tiny sample report. Let’s see that below:

Our sample report uses two tables to generate the report. We have an employee NAMES table from Opera PMS database and an employee phone table called, NAME_PHONE. The report output should look like this:

And, our queries look like this:

rep-1213, oracle report error list

Notice that we have linked both tables in using the field, NAME_ID. To see the link details, double-click on the arrow line. The Property Inspector opens with the details. Just make a note of it for now and close.

rep-1213

And, out Paper Layout is below:

  • Main Frame, M_G_NAME_ID_GRPFR covering all report objects.
  • Inner Frame, M_G_NAME_ID_HDR containing report column titles (text/boilerplate type)
  • A Repeating Frame, R_G_NAME_ID, containing all data fields from the queries.

Here, it is important to note the source of the Repeating Frame: currently, set to G_NAMES query.

If you run the report, you get the below error:

To resolve REP-1213:

To resolve, Options A: You can add a new Repeating Frame inside the main frame and set the source to sub-query. Option B: Change the source of the existing Repeating Frame to the sub-query. The report output differs as explained below.

Option A: Add a Repeating Frame with its source set to G_PHONE_NUMBER inside the other Repeating Frame like below:

Output:

Option B: Instead of adding a Repeating Frame inside the main RF, just change the source of the main Repeating Frame to G_PHONE_NUMBER (from G_NAMES before). However, the output would be different:

rep-1213 error

Hope it helps.

The post REP-1213: Field references column at a frequency below its group in Oracle Reports. first appeared on e360 hospitality.

]]>
https://e360hospitality.com/opera-pms-technical/rep-1213-field-references-column-at-a-frequency/feed/ 1 299