Hidden item (ID) in the apex report

Hi guys!

I need your help with a report of the apex (with editable elements).

History:
I have a table where I want to change the values by a report of the apex (via textfields).
SELECT b_id, - pk
b_c_id, - category
b_u_id,-user
b_mmyyyy,-the month and year
B_1, - monthly day including the value to change in the report
b_2,
b_3,
...
b_29,
b_30,
b_31
BOOKING
b_1 columns to b_31 are modifiable values (text fields) and I want to be able to update on a single value as an element hidden in my report.

The update process will be similar to:
DECLARE
BEGIN

BECAUSE me in 1... HTMLDB_APPLICATION.g_f01. COUNTY
LOOP
update of booking
Set b_1 = HTMLDB_APPLICATION.g_f01 (i),
b_2 = HTMLDB_APPLICATION.g_f02 (i),
b_3 = HTMLDB_APPLICATION.g_f03 (i),
b_4 = HTMLDB_APPLICATION.g_f04 (i),
b_5 = HTMLDB_APPLICATION.g_f05 (i),
b_6 = HTMLDB_APPLICATION.g_f06 (i),
b_7 = HTMLDB_APPLICATION.g_f07 (i),
b_8 = HTMLDB_APPLICATION.g_f08 (i),
b_9 = HTMLDB_APPLICATION.g_f09 (i),
...
b_29 = HTMLDB_APPLICATION.g_f29 (i),
b_30 = HTMLDB_APPLICATION.g_f30 (i),
b_31 = HTMLDB_APPLICATION.g_f31 (i)
where b_id = HTMLDB_APPLICATION.g_f32 (i);
I'm not able to get this value HTMLDB_APPLICATION.g_f32 (i); to be considered as a value hidden on my screen. It is possible at all?

For example: when I put the value ' display as ' to 'Hidden' and then the items do not appear on the screen. (Home page > Application Builder > application 100 > Page 1 > report of the attributes > column attributes > element in a table > displayed as)

Any suggestion?

Thanks in advance,

Tobias

Tobias,

The name of the package is "apex_item" not "apex_items" - remove the "s" and it should be ok

Andy

Tags: Database

Similar Questions

  • The matrix in the Apex report

    The matrix in the Apex report

    I met a delicate situation and would need the support of members of the community of Apex here.

    I would need to build a matrix report in Apex over a table containing about 500 rows and 2 columns.

    The report of the matrix must be format (col X lines) 20 X 25 to display all the data in the table.

    Please consider the following data containing 15 rows and 2 columns

    Table A

    Col_data Col_status

    ABC to the top

    BCD upward

    CDE upward

    def upward

    EFG down

    FGH upward

    IGS upward

    hij upward

    JKL upward

    KLM upward

    LMN upward

    MNO upward

    NOP upward

    Professions down

    PQR upward

    Now these data in the table should be displayed as a 3 X 5 matrix report.

    The idea here is to display only the col_data to end users.

    Col_data text would be colored in red or green according to the col_status than upwards or downwards, respectively.

    Formatting conditional html should be applied in this case.

    The problem here is that we report of matrix in Apex. This must be done in the sql query.

    While generating a matrix report using the sql query, we can select only a single column, and the status column is missed.

    This is why the data required for the conditional formatting (color) are not yet selected if generate us a matrix report using the sql query.

    Any help or alternative approach here would be greatly appreciated.

    ascheffer wrote:

    It is not all "tricky", or I miss the point?

    1. SELECT max (case when mod (rn, 3) = 1 then col_data end) col1
    2. , max (case when mod (rn, 3) = 2 col_data then end) col2
    3. , max (case when mod (rn, 3) = 0 then col_data end) col3
    4. , max (case when mod (rn, 3) = 1 then col_status end) col1_stat
    5. , max (case when mod (rn, 3) = 2 then col_status end) col2_stat
    6. , max (case when mod (rn, 3) = 0 then col_status end) col3_stat
    7. , ceil ((rn) / 3)
    8. (select col_data, col_status, row_number() on rn (order by null) from tablea)
    9. Group by ceil ((rn) / 3)

    It is perhaps not in SQL, but is not the only consideration... terms

  • Affecting a hidden page looking for the interactive report null element

    Hi all

    I'm a newb APEX and don't really understand processing and calculations very well yet. I want to do something fairly simple however.

    I have a page with an interactive report and two hidden page items. I want to set the value of these two elements with the NULL value when someone search the interactive report. Any way to do it?

    Thanks in advance.

    Published by: darstar007 on March 25, 2010 16:31
    
    
    
    

    Kind regards
    Shijesh
    ---
    Please reward the answer if this was helpful or correct

  • How you trigger sort column of the APEX report interactive page element?

    Hi guys!

    A certain page, I have an interactive report of the APEX. Part of the query is similar to:

    SELECT

    ...,

    (definition column1) BCV,

    (definition column2) RFV,

    ...

    table. RAU,

    The TABLE table_name,...

    WHERE conditions;

    I also have a defined through the following LOV page P121_SORT_BY (selection box) element:

    SELECT "BCV" d, "BCV" r FROM DUAL

    UNION ALL

    SELECT "RF value" d, 'RFV r' FROM DUAL

    UNION ALL

    SELECT 'RA (USD)' d, "RAU" r FROM DUAL

    I've linked a dynamic Action to P121_SORT_BY which runs on the 'Change' event and performs the following JavaScript Code:

    var my_column = $v ('P121_SORT_BY');

    Alert ('test1');

    $x('apexir_COLUMN_NAME').value = my_column;

    Alert ('test2');

    gReport.column.order ('DESC');

    Alert ('test3');

    Alert (my_column);


    Obiously, there is something wrong with my code JS... What can I do to make my report interactive sort DESCENDING column selected in my page element?

    Please note that I also tested the JS without comments and I get pop ups (test1, test2, test3 and the correct name of the column of my_column) but the report isn't back to normal... What am I doing wrong?

    Thank you

    Digital

    Hi all

    I found the answer to my question by navigating through the java scripts in Apex.

    So, this is what works:

    gReport.last_col_id = "BCV";

    gReport.column.order ('DESC');

    Where "BCV" is actually your name of column position, you can send it by a Page Item and means of descending "DESC" and "CSA" means growing.

    I hope this helps other people too.

    Thank you

    Digital

  • Inserting into the table of the apex report log

    Hi all

    I have an interactive report with check boxes for each line, when I select a checkbox one according to the report and click the button submit that the first records of departure in the report are getting inserted into the table
    the lines that I select in the report is not getting inserted into the table.

    For example, if I select all 4 records in the box and click submit button 4 first records will be inserted into the table. Not the selected records.

    I put all the attributes attribute of standard report columns.

    Here is my code I wrote for the process to insert in the journal table.
    declare
    v_index varchar2(2000);
    begin
     
    FOR i in 1..APEX_APPLICATION.G_F21.COUNT LOOP
    --v_index := APEX_APPLICATION.G_F21(i);
    
    insert into eptlog(ptr , cat , pgroup , splptr,gisv ,
              mptr , hip , oml ,wa_type , stl_acc,last_updated_by )
    values(apex_application.g_f22(i), A-Cat,P-Group,
    'N',
    'Y',
    'N',
    'Y',
    'HIP',
    'APC',
    'N',
    apex_application.g_user);
    
    END LOOP;
    end;
    For the report query
    -------------------
    select 
    apex_item.checkbox(21,'#ROWNUM#','UNCHECKED')||APEX_ITEM.HIDDEN(22,p.cc||'-'||p.name) ptr,
    p.row_id,
    p.cc,
    c.ctrdesc,
    p.name,
    p.cat,
    ptr.onumber,
    p.c_id,
    apex_item.select_list_from_query(23,ptr.ecat, 'select catdesc,cat from ptrcatmst') cat1,
    apex_item.select_list_from_query(24,ptr.partner_group, 'select pgroup,gid from APTNRGROUP') pgroup,
    apex_item.select_list(25,p.gisv,'Y;10,N;20') iv,
    apex_item.select_list(26,p.splptr,'Y;10,N;20')  splptr,
    sum(rate)
    from aptr p
    left outer join aptr_a s on p.name = s.pname and p.cc = s.cc
    left outer join lcomp c on s.cc = c.cc
    where rate>0 and p.cat1<>'D' and s.cc ='10'
    group by rownum,p.row_id,
    p.cc,
    c.ctrydesc,
    p.name,
    p.cat,
    p.onumber,
    p.cid,
    p.cat1,
    p.pgroup,
    p.iv,
    splptr,
    order by rate desc
    Please guide me on what I need on urgent basis.

    Thank you

    Hello

    I have fixed the bothe insert and update now procs.

    Here's what I changed.

    Changed the sql report to render the rownum as the value for the column in the box.

    Edited the page processes to use the value of rownum.

    Please check and mark the correct answer

    Thank you

  • progress bar jQuery UI in the apex report rows

    Hello

    Anyone know how I can display the progress bar from jQuery UI in each line of a report to the Apex 4? Each measure must the length according to the value in one of the columns.

    Thank you.
    Andy

    http://www.talkapex.com/2009/06/displaying-percentage-bar-in-apex.html

    Does that help?

  • How to display bfile in the Apex report

    We already have the table that stored the bfile and I want to display these files (PDF and Images) in the report of the Apex.
    How to do this? I checked ApEx Guide.pdf document user but could not find an answer.

    If anyone can help?
    Thank you

    You can do it this way:

    http://Apex.Oracle.com/pls/OTN/f?p=31517:64

    Simply change the code so it takes a bfile type (path and name) instead of a file id.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

  • How to extract data from the APEX report with stored procedure?

    Hi all

    I am doing a report at the APEX. the user selects two dates and click on the GO button - I have a stored procedure linked to this region of outcome for the stored procedure is called.

    my stored procedure does the following-

    using dates specified (IN) I do question and put data in a table (this painting was created only for this report).

    I want to show all the data that I entered in the table on my APEX report the same procedure call. can I use Ref cursor return? How to do this?

    Currently, I use another button in the APEX that basically retrieves all the data from table. Basically, the user clicks a button to generate the report and then another button for the report. which is not desirable at all :(


    I m using APEX 3.1.2.00.02 and Oracle 10 database.

    pls let me know if you need more clarification of the problem. Thanks in advance.

    Kind regards

    Probashi

    Published by: porobashi on May 19, 2009 14:53

    APEX to base a report out of a function that returns the sql code... Your current code goes against a Ref cursor returns the values...

    See this thread regarding taking a ref cursor and wrapping it in a function to channel out as a 'table' (use a cast to cast tabular function vale)...

    (VERY COOL STUFF HERE!)

    Re: Tyring to dynamically create the SQL statement for a calendar of SQL

    Thank you

    Tony Miller
    Webster, TX

  • Problem of setting a value for the hidden item click on the button with processes action or pl/sql dynamic

    Apex 4.1

    Oracle 11g

    I have a page which consists of a main and several sub-regions area.  I have a pl/sql process in after the header SET_DISPLAY(:P400_DISPLAY:='MAIN';))

    Three subregions have a contional show where P400_DISPLAY = STORE.  It works in the hiding of the sub regions.

    Now, I want to change the value P400_DISPLAY to the STORE to show the subregions when I hit a button.

    I tried to create a dynamic action for the click on the Add button, but get the following error:

    The selected button uses a model of 'button' that does not contain the #BUTTON_ID substitution string #.

    I went to the models and found:

    Substitution strings

    Top

    Substitution strings are used in sub models to reference the value of the components. This report details use of string substitution for this model.
    Substitution string Referenced De Description
    #LINK #.YesModelTo be used in an attribute "href".
    #JAVASCRIPT #.NO.To be used in an "onclick" attribute
    #LABEL #.YesModelButton label
    #BUTTON_ATTRIBUTES #.NO.The attributes button
    #BUTTON_ID #.NO.ID generated button will be ID either the static button if defined, or if not will be a generated ID internally in the format 'B ' | [Internal ID of the button.

    I then tried to create a page process, pl/sql,: P400_DISPLAY: = 'STORE '; If the button is pressed.  The action of the button is submit page. However, it does not change the value of P400_DISPLAY and the subregions are hidden.

    Suggestions please on how to fix the template or change the value of P400_DISPLAY?

    The question of the root, it's that, even if you change the value of the element of your page, it is not visible to other areas of the page until it is in the session. Thus, any other action based on the value of the element of your page. the visibility of a control, a report based on the value of the item, etc. will be affected by changing the value of the item page until it has been changed in the session. Even after that, items are stored in the session, then you must do something to influence the revalued value. To see the effect of this, observe that your page will load and assesses the value of the element of your page, it sees which is the "MAIN" and mask areas. However, he didn't reassess after that.

    Then; your choices for this value set at the session are send the page, or use JavaScript to set the value in the session. If you use the latter, you will have to do extra work to make visibility tests be re - run, so, let's stick with the submit method.

    What you did above sounds correct to do this but, there are a lot of decisions, that you might have done that may have caused things to do not occur in the correct order.

    First of all, we will confirm that what I describe above is your problem. From the development environment, load the page, click on the button to change the value and submit. Now, click on the link marked the Session. He is always at HAND? If the answer is "Yes"; That's your problem.

    Let's start with your calculation after the header. You set it to * only * run if the current value of the element of your page is null? If this isn't the case, it's your problem.

    Load the Page-> Item set to 'Hand' by calculation-> click on the button--> Item set to STORE-> Submit-> Page Load-> point by calculating the value 'hand '.

    See the problem?

    Assuming that's not the question, you have created a branch to the same page, right? What is your process for the branch point? Is it * after * Validation, computation etc.? Because if not, you are not changing the value before that didn't get to submit.

    I bet that's the first question, but take a look at these.

    See you soon,.

    -Joe

  • How to create a crosstab to the APEX report

    Hi all

    Here's the query that I want to create a report of the tab cross- report_label & project_execution. Could you please guide me how to proceed in Oracle APEX.

    Select project_execution,

    report_label,

    (Project_execution) count of)

    SELECT NVL (xmigr.project_execution,' ') project_execution;

    xmigr.report_label

    OF xxqbix.xxqbd_disco_count_details_d xdcd,.

    xxqbix.xx_fls_disco_migr_comments xmigr,

    (select report_label, 'Y' qbix_phase1_2)

    of xx_fls_disco_migr_comments c

    where 1 = 1

    and c.project_execution in (' QBIX Phase 1', ' QBIX Phase 2' "')) xcom2

    WHERE xdcd. Annual = xmigr. ANNUAL

    AND xdcd.worksheet = xmigr.worksheet

    AND xdcd.owner = xmigr.owner

    and xmigr.report_label = xcom2.report_label

    and Accruals 'xmigr.report_label ='

    Xdcd.owner GROUP,

    NVL(xcom2.qbix_phase1_2,'N').

    xDCD.Workbook,

    xDCD.Worksheet,

    xmigr. Migrate,

    NVL (xmigr.project_execution,' '),

    xmigr.report_label,

    Group of xmigr. Portal_Name) by project_execution,.

    report_label

    Kind regards

    Sushant

    not tested not having no not your tables, but the use of something like that

    WITH pivot_data AS)

    SELECT NVL (xmigr.project_execution,' ') project_execution;

    xmigr.report_label

    OF xxqbix.xxqbd_disco_count_details_d xdcd,.

    xxqbix.xx_fls_disco_migr_comments xmigr,

    (select report_label, 'Y' qbix_phase1_2)

    of xx_fls_disco_migr_comments c

    where 1 = 1

    and c.project_execution in (' QBIX Phase 1', ' QBIX Phase 2' "')) xcom2

    WHERE xdcd. Annual = xmigr. ANNUAL

    AND xdcd.worksheet = xmigr.worksheet

    AND xdcd.owner = xmigr.owner

    and xmigr.report_label = xcom2.report_label

    and Accruals 'xmigr.report_label ='

    Xdcd.owner GROUP,

    NVL(xcom2.qbix_phase1_2,'N').

    xDCD.Workbook,

    xDCD.Worksheet,

    xmigr. Migrate,

    NVL (xmigr.project_execution,' '),

    xmigr.report_label,

    Group of xmigr. Portal_Name) by project_execution,.

    report_label

    )

    SELECT *.

    OF pivot_data

    PIVOT)

    Count (report_label)

    FOR project_execution ("QBIX Phase 1', ' QBIX Phase 2', 'QBIX Phase END'" ")

    );

  • Prefixed data space is removed from the APEX report page

    My report contains data from hierarichal and I'm intendation with handling space.

    If some of my data (cell) have space padded before the string, and it is deleted / box by APEX.

    I tried to add ' ' & nbsp' | db_column"but this too also does not work.



    You will need to disable the function of automatic cropping of APEX.



    real cell


    'this '.


    Apex shows page

    'this '.

    Hi Prashant,

    Could you please the credentials and the name of the workspace.

    so, which won't be easy for us to solve the problem.

    Kind regards

    Jitendra

  • replacement of Chr (13) in the Apex report

    Hello

    I have documents that are returned with CARRIAGE RETURN / CHR 13/CHR10 how can I replace these new characters line when these records are displayed on a report?

    Apex 4.1.1
    Oracle 11g 2,

    Thank you all.

    Gor_Mahia wrote:
    fac586,
    OK this is what I did... in the header html of the page for that region, I added

    
    because NOTES is the id of the column i want to effect as below
    
    Notes
    

    any idea?

    Have you created a static region ID for the region of report? Is - this really static-region-id? The static region ID must be a valid HTML identifier and must be something meaningful for this region. The static region ID is then used as an ID selector in the descendant selector to identify the required within this region column:

    /*
      Static region ID is "foo"
    */
    
    
  • SQL query for the apex report

    Hi team,

    For example if I have a demo table with 4 columns (A, B, C, D) DEMO.

    I want a report on this table, such that the report contains the headers and the Details section.

    For each unique combination of (A, B) I must first of all show header based on the header information I want to display the detailed section.
    In my header section I want to display 2 columns (A, B) that are common to the detailed section. Remaining 2 columns in the detailed section.


    Here is an example: -.

    A B C D
    1 5 9 3
    1 5P8
    1 5 P O
    1-5-9
    1 8 9
    1     D     *     /
    2 8 33 P
    2 P O O
    2 P L L

    YOU WILL SEE
    A AND B
    1 5

    C D
    9 3
    P 8
    P O


    A AND B
    1 D

    C D
    5 9
    8 9
    *     /



    A AND B
    2 P

    C D
    8 33
    O O
    L L

    Please suggest the solution (sql query) for above the problem and how to nest gernerated headers dynamically in the report area.
    I use APEX 4.0
    Any position in this regard is very significant.

    Thanks and greetings
    Rajendra

    Try this:

    SQL> select * from tab;
    1 5 9 3
    1 5 P 8
    1 5 P O
    1 D 5 9
    1 D 8 9
    1 P 8 3
    1 P O O
    
    7 rows selected.
    
    SQL> select a,b from
    (select r,a,b from
    ( select to_char(rownum)||'a' r, 'A' a,'B' b from
            (select distinct a, b from tab order by a,b))
            union
    ( select to_char(rownum)||'c' r, 'C' c,'D' d from
            (select distinct a, b from tab order by a,b))
    union
    ( select to_char(rownum)||'b' r, a,b from
    (select distinct a, b from tab order by a,b))
    union
    select parent.r, tab.c, tab.d from
    ( select to_char(rownum)||'d' r, a,b from
    (select distinct a, b from tab order by a,b)) parent ,
    tab
    where parent.a=tab.a and
    parent.b=tab.b
    ) order by r
    ;
    A B
    1 5
    C D
    9 3
    P 8
    P O
    A B
    1 D
    C D
    5 9
    8 9
    A B
    1 P
    C D
    8 3
    O O
    
  • Download link for BLOB content on the apex report

    Hi guys,.

    I have a simple form where the user can attach file and save records. I iterate on wwv_flow_files and download the file and save it to a custom table that has the BLOB column. On another report page I view downloaded file Details. What I need is, there must be a column with the download link when clink user the link file should be downloaded. How can I do this?

    Really grateful if someone can help me on this.
    Thank you guys.

    See The BLOB Support in forms and reports.

    There is a tutorial OBE which followed the introduction of the declarative BLOB support in 3.1 as well. (An earlier version, but it is still relevant for APEX 4.x.)

    (Please make an effort to check out the documentation and search carefully on the forum for the previous coverage of a topic.) "This is a much discussed question.)

  • The apex report output

    I get the result following from the report:

    No.Servers in the grid:
    0

    1 - 1

    Is it possible to remove 1-1 page run?

    Hello

    If it is an interactive report then go to report attributes then section Pagination and select "no paging" for the type of paging.

    If this is a Sql report, then go report attributes, then layout and pagination of the article and do not select "No paging" in paging system.

    Thank you
    Tauceef

Maybe you are looking for