Translation of interactive reports

Hi guys,.

APEX 5.0.1.

Oracle 11G

I've translated an application in English in Chinese simplified and Chinese traditional application using APEX_UTIL. SET_SESSION_LANG & P_LANG setting and it works very well. But when I try to run the application in translated mode, all application translated very well, except the interactive Menu Actions. Please see the screenshot below:

Capture.JPG

Can someone please tell me I missed something, or is there by default behavior of APEX?

Thank you

Sunil Bhatia

Hi Pavel,

There is a difference between the way that APEX manages translations of your own channels of application and internal messages of APEX (and in the way you need to translate).

The part that you have translated are your own messages. The part that you have to do is internal messages of the APEX. To do this you must load the translations of these texts in the APEX. Out of the box what APEX supports +/-10 languages for other languages, you can check translated - apex.com to see if the language is available for download here.

Normally, you just need to load these messages only once per language (and perhaps re - publish the application after that, not sure 100%) and then everything should work.

See you soon

Bottom

Tags: Database

Similar Questions

  • Translate the title of the registered interactive report

    Hello

    APEX 4.2.5.00.08

    Does anyone know a way to translate the titles registered interactive report for a multilingual application?

    I mean saved reports reports of type "Default Alternative" that are defined by an administrator (so not by end users).

    Not sure if there is a way from an admin account sets these reports in the runtime environment, but they are registered/vissible in the IDE, so maybe there's a way.

    I can't find in the repository of the translation.

    Concerning

    Bottom

    Hi there,

    Unfortunately, there is not a way for you to translate the names of the default Alternative to the interactive reports.  This is a known bug issued / filed against Application Express.

    Joel

  • Customize the Action menu in the interactive report

    To change the word 'Action' in the menu of the interactive report.

    Apex 4, we had the 'Image of the Action menu' option, but the Apex 5 this option disappeared.

    This isn't in known issues in the Apex 5!

    Someone knows how to set an image or other text to the menu Action interactive report?

    Anderson.Ferreira wrote:

    To change the word 'Action' in the menu of the interactive report.

    Apex 4, we had the 'Image of the Action menu' option, but the Apex 5 this option disappeared.

    This isn't in known issues in the Apex 5!

    Someone knows how to set an image or other text to the menu Action interactive report?

    Why do you need to change?

    Follow the instructions in 'Translating Messages used internally by Oracle Application Express' to create a custom text for the message of the APEXIR_ACTIONS system. Available for translation/customization internal messages are listed in these tables.

  • Permission interactive report Menu

    Hi all

    I'm working on APEX 4.2.

    My question is related to the 'Actions' interactive report Menu. I have the schema for custom authorization distinguishing users to be "Admin" and "General" users. I want this 'Format' inside the Actions menu interactive report only works for Admins and not for other users.

    I don't see any way to authorize it. Can it be done? Is this feasible?

    Thank you

    Sunil Bhatia

    Kiran Pawar says:

    Hi Sunil Bhatia,

    Sunil Bhatia wrote:

    Hi Kiran,

    Thank you. It seems to work very well in 4.2 APEX. 2 questions I have:

    1 APEX 5.0 is not similar "apexir_FORMAT_MENU" of the id etc. What to do in this case?

    2. I see not any Id if still go us inside the menu format. Suppose I wish to restrict only aggregate and fate to the admin and relies on users in general.

    Any idea on these issues?

    Thank you

    Sunil Bhatia

    Yes, they (Oracle APEX development team) have rewritten the IR functionality in APEX 5.0.

    There no id to put in shape the options of the menu/menu like APEX 5.0, several IR features are introduced.

    In a valid HTML markup, id should be assigned to one and only one tag, so there is no ID of IR APEX 5.0 from previous versions where interactive report per page is allowed.

    How to identify what menu option to hide/show it takes little research on jQuery selectors.

    How to target the menu 'Actions' of particular IR (assume that there are several IRs), is to use the static region for IR and then ID through jQuery selectors, you can select the particular item in the closed area. For example, you can use the parent-child selector.

    I'll post an example of the same thing in a while.

    Good luck with that. The new structure (supposed to be improved) has no specific hooks, only arbitrary IDS and generic classes option. Looks like you will need to select the content option (which can cause the complexity of the problems/extra in translated apps) or classes icon. Using either, you have to cross to the top the tree to get the required parent nodes that will not be effective.

    The elephant in the room here is that security functions can be implemented using JavaScript and dynamic actions only. If the server displays the content then you should assume that the user (or an attacker) has access to it.

    4.2, the safest is to create 2 IR separate pages with the authorisation schemes applied and also to use the authorisation schemes to control the connection to the correct page depending on the privileges of the user. In 5.0, you can take advantage of the ability to have several IR regions on one page and use the authorization scheme to control one appears. Yes, it's repetitive, but it's also safer.

    Added support for the authorisation on the actions of the IR schemes would be a great feature request...

  • Of the interactive report in 4.0.2.00.07 partial Page Refresh?

    Hello

    I have a page on request with an interactive report (IR) and a card provided by card Oracle APEX. I have a text box and a button "submit". The user enters a value in the text box, clicks submit, and I run an international registration based on this value.
    Everything works well. The problem is that when I hit submit, the page is submitted to the interactive report, which translates the map have to reload, which is really messy.

    How can I get the interactive report to run without submitting the entire page? I can't understand in 4.0.2.00.07.

    I spotted a new 4.1 feature: Add field "Page to go" to the attributes of the region of

    The new attribute "Page to go" has been added to the regions of IR type, classic, tabular and plug-ins report having this feature is enabled. The values of the specified page elements will be subject to a partial 'Refresh of Page' request to implement session state, so that they can be used in the WHERE clause of the SQL statement in regions. A 'Refresh of Page partial' can be triggered with the dynamic action of "Refresh", by changing the sort or paginate.
    It sounds like I want to I am registered at tryapexnow.com and set up a test page with a text box, a "submit" button and an IR based on the content of the text box. In the definition of region IR, I put the text box such as the 'Page elements to send.
    Then, I created a dynamic Action "Refresh" to update the IR area when the user clicks the submit button.
    I've tested this and it worked exactly as I wanted - i.e. IR is based on the box without a full page sent.

    Problem is it's all in 4.1, which is probably a few weeks of production. Something similar is possible in 4.0.2.00.07?

    Thank you
    John

    Hi John,.

    I think that you will need to create two dynamic actions. A type of PL/SQL block with null; as a source and enter to go. The second Action is update dynamic region...

    Martin
    -----
    http://www.talkapex.com

  • Center alignment based on aggregation interactive report.

    Hello. I have an interactive report. It has a few columns to summarize. So I used aggregate in the menu actions to sum them. It works very well. But the problem is it is appears on the right side. I want that it will display at the centre.

    post.jpg

    Is it possible to display it in the Center? Thank you.

    Try to apply css custom on the aggregate column. In an application that uses the universal theme, I added the CSS inline to the page of the report below.

    td.a-IRR-aggregate {
     text-align: center;
    }
    
  • Creating interactive reports Hyperion installation assembled lack?

    Hello

    Trying to install interactive of the Enterprise Performance Management suite version Reporting 11.1.2.4.0, downloading programs Client of EMP and the EPM System Release file1 system installation, File2 and File3 File4 on this download Hyperion Foundation Services downloads page as well as part 7 and Oracle HTTP Server since this Oracle Hyperion Interactive Reporting downloads page. I extracted them all in the same folder and when I go to install the components of interactive reporting is grayed out and I get the following errors:

    EPMINS-01047: the Assembly biplus_core_services is missing. The Assembly is needed to install a selected component.

    Status: EPMINS-01016: impossible to install the selected component. Click help to see the possible reasons.

    I was wondering what I am missing in my downloads? What download includes the bi_plus_core_services Assembly?

    Part 4 should be biplus_core_services

    Also I recommend to download the files from https://edelivery.oracle.com/

    See you soon

    John

  • Interactive report with alternating lines - 5 APEX

    Heyho guys.

    I got a task to set alternating line colors in my interactive report.

    IM using Oracle 11 g Database XE with APEX 5.0.0.00.31 2.

    I searched current debates and following this thread:

    https://community.Oracle.com/thread/912414?TSTART=0

    I followed the comments written there and I tried with javascript, they spoke aboud (I'm a newbie using javascript)

    I pasted the following in my page header:

    < script type = "text/javascript" >

    IT IS THE INTERLACING

    function decorateDataGrids (strClass) {}

    var tables = document.getElementsByTagName ("table");

    for (var i = tables.length; i-;)) {

    If (tables.className == strClass) {}
    var gridRows = tables [i] .getElementsByTagName ("tr");
    for (var j = gridRows.length; j-;)) {If (j %2) {gridRows [j] .className = "even" ;}}
    }
    }
    }
    < /script >

    < style >
    / * THIS REPLACES THE DEFAULT STYLES OF THE APEX * /.
    table.apexir_WORKSHEET_DATA tr.even td {}
    background-color: #F1F5FA! important;
    }

    table.apexir_WORKSHEET_DATA td {}
    background-color: #FFFFFF! important;
    border: 1px solid #B3B3A7! important;
    padding: 4px 8px! important;
    }
    < / style >

    And called in my link to my column ID text field via:

    "< img src =" "#IMAGE_PREFIX #edit.gif" alt = "" onload = "decorateDataGrids ('apexir_WORKSHEET_DATA'); ">

    If I start the page now, nothing happens.

    In the thread, we talk about bad SEO of the IR:

    "OK here's why the code does not work." When you use getElementsByTagName, you get a collection, not a single item.

    So when you make the comparison to see if the class of the table is an ApEx IR type, you need to reference the current table, not the entire collection. As follows... »

    But I don't understand how I'm doing the right reference.

    Someone at - it an idea to get this race?

    Thank you

    pleNn

    pleNn wrote:

    Heyho guys.

    I got a task to set alternating line colors in my interactive report.

    IM using Oracle 11 g Database XE with APEX 5.0.0.00.31 2.

    I searched current debates and following this thread:

    https://community.Oracle.com/thread/912414?TSTART=0

    I followed the comments written there and I tried with javascript, they spoke aboud (I'm a newbie using javascript)

    I pasted the following in my page header:


    for (var j = gridRows.length; j-;)) {If (j %2) {gridRows [j] .className = "even" ;}}
    }
    }
    }

    And called in my link to my column ID text field via:

        

    If I start the page now, nothing happens.

    In the thread, we talk about bad SEO of the IR:

    "OK here's why the code does not work." When you use getElementsByTagName, you get a collection, not a single item.

    So when you make the comparison to see if the class of the table is an ApEx IR type, you need to reference the current table, not the entire collection. As follows... »

    But I don't understand how I'm doing the right reference.

    Someone at - it an idea to get this race?

    It's all totally obsolete with respect to the 5.0 APEX where interactive reports have been completely redesigned and rebuilt.

    To complete the full version number of APEX, always indicate what theme and browser (s) / version (s) you use when asking questions of shape/layout visual layout.

    To go from rank (Zebra) when you use the universal theme distribution in interactive reports, see Re: interactive report - no line scratched?

  • Footer text region appearing to the right of the BAR INTERACTIVE REPORT SEARCH page

    We are the migration of Express 4.2.1 application at Apex 5.0.2


    We use the 22 Bluejay theme.

    In my interactive reports, I the text entered in the regions 'Header and footer' > footer text, including 4 Apex, rendering at the foot of the report.

    The Apex 5, the same text renders in a new column to the right of the search bar of interactive report.

    Is it a question of model, or a builder bug?

    I can't find where in the model I can adjust the positioning of the text 'Footer region'

    Gus...

    I worked on it a little more.

    just to say that I use the Chrome browser.

    I worked as designer of the Page view and impossible to find using the attribute "footer text".

    I went to the view of the component and found help.

    It is said...

    Enter a footer area to display directly after the body content (that is, after #BODY# in the model of the region) or instead of #REGION_FOOTER #, where this substitution string is defined in the model.

    So I added #REGION_FOOTER # div AFTER the body...

    #BODY #.
    #REGION_FOOTER #.

    Hurrah!  the footer is now in the right place...

    Also, I noticed that if I placed an HTML element
    in the text, footer text would be in the correct position without having to change the model.

    Gus...

  • Interactive report with the hierarchy

    Hello

    In Apex Oracle 5.1, I tried to use an interactive report to view details of employee based on a hierarchy. I used the query to display data below:

    SELECT last_name, employe_id, manager_id, LEVEL

    Employees

    START WITH employee_id = 100

    CONNECT BY PRIOR employee_id = manager_id

    Brothers and SŒURS of ORDER BY last_name;

    The output was as below:

    LAST_NAME EMPLOYEE_ID MANAGER_ID LEVEL

    ------------------------- ----------- ---------- ----------

    King                                100                                                       1

    Cambrault                        148                                 100                 2

    Bates                              172                                 148                 3

    Bloom                             169                                  148                3

    Fox                                 170                                  148                3

    Kumar                             173                                  148                3

    Ozer                                168                                  148               3

    Smith                               171                                  148              3

    De Haan                           102                                   100             2

    Hunold                              103                                   102             3

    Austin                               105                                   103             4

    Ernst                                 104                                   103             4

    Lorentz                              107                                   103             4

    Pataballa                           106                                    103            4

    Errazuriz                           147                                   100              2

    Ande                                 166                                    147             3

    Banda                               167                                     147             3

    ...

    Now, I would like to display data based on the connection of employees.

    For example (based on above request): If an employee named - Cambrault is the login, only employees under him (Bates, Bloom, Fox, Kumar, Smith, Ozer) and its own contact information should appear in the report.

    Please advise.

    Kind regards

    mebu

    Mebu wrote:

    Please take a look on the underside of the employees table, employee_id here will be used as a unique identifier for each lines and names of the connection will be with these employe_id. single sign on Option will be used for login purposes.

    Really?

    SQL > SELECT last_name, employe_id, manager_id, LEVEL

    2 FROM employees

    3 START WITH employee_id = to_number(:app_user)

    4 CONNECT BY PRIOR employee_id = manager_id

    5 brothers and SŒURS of ORDER BY last_name;

    LAST_NAME EMPLOYEE_ID MANAGER_ID LEVEL

    ------------------------- ----------- ---------- ----------

    Cambrault 148 100 1

    Bates 172 148 2

    Flowers 2 148 169

    Fox                              170        148          2

    Kumar 173 148 2

    Ozer                             168        148          2

    Smith, 2 148 171

  • Query on hierarchical query in interactive report!

    Hello

    In Apex Oracle 5.1, I tried to use an interactive report to view details of employee based on a hierarchy. I used the query to display data below:

    SELECT last_name, employe_id, manager_id, LEVEL

    Employees

    START WITH employee_id = 100

    CONNECT BY PRIOR employee_id = manager_id

    Brothers and SŒURS of ORDER BY last_name;

    The output was as below:

    LAST_NAME EMPLOYEE_ID MANAGER_ID LEVEL

    ------------------------- ----------- ---------- ----------

    King                                100                                                       1

    Cambrault                        148                                 100                 2

    Bates                              172                                 148                 3

    Bloom                             169                                  148                3

    Fox                                 170                                  148                3

    Kumar                             173                                  148                3

    Ozer                                168                                  148               3

    Smith                               171                                  148              3

    De Haan                           102                                   100             2

    Hunold                              103                                   102             3

    Austin                               105                                   103             4

    Ernst                                 104                                   103             4

    Lorentz                              107                                   103             4

    Pataballa                           106                                    103            4

    Errazuriz                           147                                   100              2

    Ande                                 166                                    147             3

    Banda                               167                                     147             3

    ...

    Now, I would like to display data based on the connection of employees.

    For example (based on above request): If an employee named - Cambrault is the login, only employees under him (Bates, Bloom, Fox, Kumar, Smith, Ozer) and its own contact information should appear in the report.

    Please advise.

    Kind regards

    mebu

    Mebu wrote:

    I used a hierarchical query. But based on Login, I want to display only members under him.

    For example: If Cambrault LOGIN, only employees under him (Bates, Bloom, Fox, Kumar, Smith, Ozer) and its own coordinates must display in Oracle Apex.

    SELECT last_name, employe_id, manager_id, LEVEL

    Employees

    START WITH employee_id = 100

    CONNECT BY PRIOR employee_id = manager_id

    Brothers and SŒURS of ORDER BY last_name;

    See what/when/where? How to get the answers from the forum

    Describe the requirements clearly and completely, using the APEX, Oracle and terminology of web standard.

  • On the interactive report currency symbol

    Hello

    I have an interactive report where I showed the book sterlling £ as currency symbol for sal column. By default sing it currency appears as $. To replace it, I used the below stated as a front page header:

    run immediately "alter session set NLS_CURRENCY =" £"';"

    SAL, column, I gave the below format:

    FML999G999G999G999G990D00

    It works very well and shows £ sign with number of salary on each line. The problem starts when I navigate to the next page, because it starts to show $ instead of £ unless I refresh the page.

    Can anyone suggest a solution for the problem please?

    I don't want to use TO_CHAR to set the currency symbol, because I want to keep the SAL column as a number so that I can sort my data on SAL and I can also group this column.

    Thank you

    Zoro

    Hi 3140196,

    3140196 wrote:

    Please change your userid of "3140196" recognizable username. Reference: Video tutorial how to change username available

    I have an interactive report where I showed the book sterlling £ as currency symbol for sal column. By default sing it currency appears as $. To replace it, I used the below stated as a front page header:

    run immediately "alter session set NLS_CURRENCY =" £"';"

    SAL, column, I gave the below format:

    FML999G999G999G999G990D00

    It works very well and shows £ sign with number of salary on each line. The problem starts when I navigate to the next page, because it starts to show $ instead of £ unless I refresh the page.

    Can anyone suggest a solution for the problem please?

    I don't want to use TO_CHAR to set the currency symbol, because I want to keep the SAL column as a number so that I can sort my data on SAL and I can also group this column.

    Rather than use a use "before the" process page header"in the Application-> the shared components->-> Session-> Code PL/SQL to initialize the security attributes database as follows:

    Reference: Currenty symbols using setting mask in the shape of FML in Apex.oracle.com

    Kind regards

    Kiran

  • To update the database by using selection lists in an interactive report

    I use the Application Express 4.2.6.00.03.

    I have an interactive report in two columns with a selection list in the second column. The generated query the report is

    Select pn.project_name,

    (Select APEX_ITEM. SELECT_LIST_FROM_QUERY(2, PN.) Batch, 'SELECT status_name d, r from RES_STATUS order by sequence batch', NULL, 'NO') of double) STATUS

    of res_project_name_detail pnd, pn res_project_name

    where pn.project_name_id = pnd.project_name_id

    Now I need to find a way to change the database to reflect the changes made to a select list that appears in the second column (batch) as they are made. Are there any suggestions as to how this could be done? I have experience of limited Java script if a solution that I can use directly would be great.

    Martin

    Reference SebastianR


    created a small example

    https://Apex.Oracle.com/pls/Apex/f?p=28281:16:16619647501605:no:

    WORKSPACE:-REEMATEST

    username:-test

    password:-test

    application 28281

    page 16

    hope this helps you in some way

  • Problem with the display of the icon in the interactive report

    Hello

    for several days I am looking for a solution on the web, but I have not found the right article.

    I can't display images in the display of the icon of interactive report.

    I tried to understand with an example of implementation of the SUMMIT.

    I work with the same component without success.

    IN MY PAGE:

    first region

    P1O_IMG1: File Explorer to download image

    P10_TITRE: text box: title

    P10_LIBELLE: area of tex: topic

    P10_CANCEL: button cancel

    P10_submit: button to submit

    in this area, I upload a picture and create a row in the CG63_IMG table

    ID_IMGNUMBER
    FILE NAMEVARCHAR2 (400 BYTE)
    MIME_TYPEVARCHAR2 (50 BYTE)
    CHAR_SETVARCHAR2 (128 BYTE)
    IMAGE_CONTENTBLOB OBJECT
    DATE_MAJDATE
    LIB_IMGVARCHAR2 (400 BYTE)
    THE TITLEVARCHAR2 (100 BYTE)

    and everything is OK

    second region with interactive report

    Select

    cg63_IMG.ID_IMG ID,

    CG63_IMG.ID_IMG as ID_IMG,

    CG63_IMG. Name of the FILE as FILENAME,

    CG63_IMG. Mime_type like MIME_TYPE,

    CG63_IMG. CHAR_SET as CHAR_SET

    CG63_IMG. DATE_MAJ as DATE_MAJ,

    CG63_IMG. LIB_IMG as LIB_IMG,

    CG63_IMG.titre,

    Decode (NVL (DBMS_LOB. GetLength (IMAGE_CONTENT), 0), 0, NULL, apex_util.get_blob_file_src (ID_IMG, NULL, 'P10_PHOTO', 'inline')) detail_img_no_style;

    apex_util.prepare_url ('f? p ='|: APP_ID |) » : 20 :'|| : APP_SESSION |': P20_ID_IMG :'|| ID_IMG) icon_link

    of CG63_IMG CG63_IMG

    in my report, detail_img_no_style, icon_link are hidden


    in attributes of reports

    the normal display mode is ok

    the detail view is ok

    display the icon: problem no picture

    I would like this (in the order of the lines of the "icon view" attribute)

    YES,

    NO,

    ICON_LINK,

    DETAIL_IMG_NO_STYLE,

    TITLE,

    HEIGHT = "140" WIDTH = "140"

    #TITRE #.

    '',

    ""


    third region

    I defined a P10_PHOTO point: File Explorer, hidden

    Like this

    Parameters:

    NO,

    BLOB type column specifies in the attribute of the source point,

    MIME_TYPE,

    FILE NAME,

    ' ',

    DATE_MAJ,

    YES,

    ' ',

    Inline


    Source:

    Still, replacing everything,.

    Databas column,

    Per session.

    Value of source = IMAGE_CONTENT,

    ' ',

    ' '


    It is difficult to get information: how the element such as P10_PHOTO must be created.


    APEX 4.2.5 WITH ORACLE HTTP SERVER


    Concerning


    MARC







    user_fr_cg63 wrote:

    Hello

    for several days I am looking for a solution on the web, but I have not found the right article.

    I can't display images in the display of the icon of interactive report.

    I tried to understand with an example of implementation of the SUMMIT.

    I work with the same component without success.

    IN MY PAGE:

    first region

    P1O_IMG1: File Explorer to download image

    P10_TITRE: text box: title

    P10_LIBELLE: area of tex: topic

    P10_CANCEL: button cancel

    P10_submit: button to submit

    in this area, I upload a picture and create a row in the CG63_IMG table

    ID_IMG NUMBER
    FILE NAME VARCHAR2 (400 BYTE)
    MIME_TYPE VARCHAR2 (50 BYTE)
    CHAR_SET VARCHAR2 (128 BYTE)
    IMAGE_CONTENT BLOB OBJECT
    DATE_MAJ DATE
    LIB_IMG VARCHAR2 (400 BYTE)
    THE TITLE VARCHAR2 (100 BYTE)

    and everything is OK

    second region with interactive report

    Select

    cg63_IMG.ID_IMG ID,

    CG63_IMG.ID_IMG as ID_IMG,

    CG63_IMG. Name of the FILE as FILENAME,

    CG63_IMG. Mime_type like MIME_TYPE,

    CG63_IMG. CHAR_SET as CHAR_SET

    CG63_IMG. DATE_MAJ as DATE_MAJ,

    CG63_IMG. LIB_IMG as LIB_IMG,

    CG63_IMG.titre,

    Decode (NVL (DBMS_LOB. GetLength (IMAGE_CONTENT), 0), 0, NULL, apex_util.get_blob_file_src (ID_IMG, NULL, 'P10_PHOTO', 'inline')) detail_img_no_style;

    apex_util.prepare_url ('f? p ='|: APP_ID |) » : 20 :'|| : APP_SESSION |': P20_ID_IMG :'|| ID_IMG) icon_link

    of CG63_IMG CG63_IMG

    in my report, detail_img_no_style, icon_link are hidden


    in attributes of reports

    the normal display mode is ok

    the detail view is ok

    display the icon: problem no picture

    I would like this (in the order of the lines of the "icon view" attribute)

    YES,

    NO,

    ICON_LINK,

    DETAIL_IMG_NO_STYLE,

    TITLE,

    HEIGHT = "140" WIDTH = "140"

    #TITRE #.

    '',

    ""


    third region

    I defined a P10_PHOTO point: File Explorer, hidden

    Like this

    Parameters:

    NO,

    BLOB type column specifies in the attribute of the source point,

    MIME_TYPE,

    FILE NAME,

    ' ',

    DATE_MAJ,

    YES,

    ' ',

    Inline

    Source:

    Still, replacing everything,.

    Databas column,

    Per session.

    Value of source = IMAGE_CONTENT,

    ' ',

    ' '


    It is difficult to get information: how the element such as P10_PHOTO must be created.


    APEX 4.2.5 WITH ORACLE HTTP SERVER

    Instead of all that typing it would have been easier to download the application at apex.oracle.com and share the problem here...

    Why does P10_PHOTO exist when there is already an article for the download of files in P10_IMG1?

    Is there a process to look for automatic line (ARF) DML defined to fill the first area? If not, create one and its the Nevervalue condition.

  • Query does not work in: interactive report _ APEX

    Hello

    I have two table QB_COLLEGE_DETAILS and QB_STUDENT_DETAILS, in the college details are stored in the QB_COLLEGE_DETAILS table and by studying the details are stored in the QB_STUDENT_DETAILS table. In the primary key table and foreign key in the COLLEGECODE.  Now, I created the interactive report using code below, but does not receive the correct value in the number of student column (see image below).

    SELECT COLLEGENAME, COLLEGECODE, COORDNAME, COORDEMAIL,

    (SELECT count (s.STUDENT_REGISTER_NUMBER) AS STUD_COUNT of QB_COLLEGE_DETAILS c, s QB_STUDENT_DETAILS

    where c.COLLEGECODE = s.COLLEGECODE) "STUDENT_COUNT".

    of QB_COLLEGE_DETAILS;

    Report.JPG

    My requirement is necessary find the number of students at the corresponding College. When I used above mentioned request that total student number appear in all lines.

    could you add your suggestion, I have to do?

    Thank you

    Issac

    ISSAC-Oracle wrote:

    I have two table QB_COLLEGE_DETAILS and QB_STUDENT_DETAILS, in the college details are stored in the QB_COLLEGE_DETAILS table and by studying the details are stored in the QB_STUDENT_DETAILS table. In the primary key table and foreign key in the COLLEGECODE.  Now, I created the interactive report using code below, but does not receive the correct value in the number of student column (see image below).

    SELECT COLLEGENAME, COLLEGECODE, COORDNAME, COORDEMAIL,

    (SELECT count (s.STUDENT_REGISTER_NUMBER) AS STUD_COUNT of QB_COLLEGE_DETAILS c, s QB_STUDENT_DETAILS

    where c.COLLEGECODE = s.COLLEGECODE) "STUDENT_COUNT".

    of QB_COLLEGE_DETAILS;

    My requirement is necessary find the number of students at the corresponding College. When I used above mentioned request that total student number appear in all lines.

    could you add your suggestion, I have to do?

    What you need to do is ask questions properly, providing useful information that allowing the problem can be reproduced, rather than unnecessary screenshots.

    This is the base of SQL. Oracle run internal SQL training courses?

    There is no correlation in your "virtual column" subquery to restrict the number of students for each college. The request must be:

    select
        c.collegename
      , c.collegecode
      , c.coordname
      , c.coordemail
      , (select count(s.student_register_number) as stud_count from qb_student_details s where c.collegecode = s.collegecode) "STUDENT_COUNT"
    from
        qb_college_details c
    

    However, unless there are a large number of colleges to which no students registered, it is likely that it will be more efficient to use an outer join:

    select
        c.collegename
      , c.collegecode
      , c.coordname
      , c.coordemail
      , count(s.student_register_number) student_count
    from
        qb_college_details c
          left outer join qb_student_details s
            on c.collegecode = s.collegecode
    group by
        c.collegename
      , c.collegecode
      , c.coordname
      , c.coordemail
    

Maybe you are looking for