Create null values in the database for interactive report link column values

Hello

I'm pretty new to APEX and tries to create an interactive report with the form. This report examines essentially for more information for a particular employee. If the employee has any information in the table, the report presents information with a button change beside him. If there is no record in the table for this employee, a create button appears. Now when you click create, a new creation page. This page contains the employee number as a single display field with the value from the previous page. This value is displayed in the page, but it is not in the database. Create the page has view-only number and a couple of other columns. The other columns get inserted into the table with an empty number!

Can someone please? Looks like the page keeps the value zero for the number of the employee who came during the search of the interactive report. Hope I made myself clear, being the newbie hope I haven't used any incorrect terminology.

Thank you!
Robet

Without the DB column, apex will not determine which DB column the data in this field are mapped to (it would be quite impossible to guess the destination since the name of the element column).

If you want to assign to the previous element of the page, use the default section

return: P1_EMP_NUM

By default the value Type: body of the PLSQL function

and configure the attributes of source as I said before

Tags: Database

Similar Questions

  • How to connect to the database for all reports EN

    Hello

    I've developed 100 reports in the client of the production, test purpose that I moved
    test client. How can I connect to the database for all reports at once?

    Concerning
    Thaer

    Hi Thaer,

    You can connect to the connection of database for all reports through the workspace of HFM.

    Connect to the HFM area--> click--> Explorer, and click Tools--> click Manager of database and respective connections of Production Instance to the Instance of Test required information and that you will be able to connect to the Test database for all reports both change.

    Kind regards
    Srikanth

  • Problem with the cascading for interactive report selection list

    Hi all.

    I'm trying to implement the solution of cascading to the tabular presentation list.

    https://Apex.Oracle.com/pls/Apex/f?p=31517:176:103661090335568:

    But instead of the form of paintings, I use interactive report. After executing the query, I get the error:

    ORA-06550: line 1, column 147: PL/SQL: ORA-00936: lack of expression ORA-06550: line 1, column 13: PL/SQL: statement ignored


    My Sql query for the report:

    select 
    apex_item.hidden(1, a."DATA_ID")DATA_ID,
    apex_item.select_list_from_query(10,
      b.WAVE_GROUP,
     'select GROUP_DISPLAY, GROUP_RETURN from dwd_wave_group',
     'onchange="f_set_casc_sel_list_item(this,f11_'||LPAD (a.DATA_ID, 4,'0')||')"',
     'YES',
     '',
     '- Select Group -',
     'f10_' || LPAD (a.DATA_ID, 4, '0'),
      NULL,
     'NO'
     )WAVE_GROUP,
    apex_item.select_list_from_query(11, b."WAVE_USER",
    'SELECT username d, '
    ||'username r FROM dwd_user where groups = '||b."WAVE_GROUP",
    '',
    'YES',
    '', 
    '- Select User -',
    'f11_' || LPAD (a.DATA_ID, 4, '0'),
     NULL,
    'NO'
    )WAVE_USER
    from "DWD_WAVE_MASTER" a, dwd_wave_assignment b
    where a.data_id = b.data_id
    and b.wave_id = 'wave_1'
    

    If I exclude the condition 2nd selection list query and change as below then everything works fine. Query does not give error on sql developer.

    Use: APEX 4.2.6 with Database 11g.

    apex_item.select_list_from_query(11, b."WAVE_USER",
    'SELECT username d, '
    ||'username r FROM dwd_user',
    '',
    'YES',
    '', 
    '- Select User -',
    'f11_' || LPAD (a.DATA_ID, 4, '0'),
     NULL,
    'NO'
    )
    

    Can someone please help!

    Thank you

    Nabila

    The nabila Islam wrote:

    I'm trying to implement the solution of cascading to the tabular presentation list.

    https://Apex.Oracle.com/pls/Apex/f?p=31517:176:103661090335568:

    But instead of the form of paintings, I use interactive report. After executing the query, I get the error:

    ORA-06550: line 1, column 147: PL/SQL: ORA-00936: lack of expression ORA-06550: line 1, column 13: PL/SQL: statement ignored

    My Sql query for the report:

    1. Select
    2. apex_item. Hidden (' 1, a. "DATA_ID DATA_ID").
    3. apex_item.select_list_from_query (10,
    4. b.WAVE_GROUP,
    5. "select GROUP_DISPLAY, GROUP_RETURN from dwd_wave_group,"
    6. "onchange =" f_set_casc_sel_list_item (this, f11_'|) LPAD (a.DATA_ID, 4, '0'). ") » ',
    7. '' YES. ''
    8. '',
    9. -Select Group «-»,
    10. "f10_" | LPAD (a.DATA_ID, 4, '0'),
    11. NULL,
    12. 'NO '.
    13. ) WAVE_GROUP,.
    14. apex_item.select_list_from_query ("11, b.") WAVE_USER,"
    15. "SELECT user name d.
    16. |' username r FROM dwd_user where group = ' | b."WAVE_GROUP."
    17. '',
    18. '' YES. ''
    19. '',
    20. "- Select user -",
    21. "f11_" | LPAD (a.DATA_ID, 4, '0'),
    22. NULL,
    23. 'NO '.
    24. ) WAVE_USER
    25. of 'DWD_WAVE_MASTER' a, b dwd_wave_assignment
    26. where a.data_id = b.data_id
    27. and b.wave_id = 'wave_1. '

    If I exclude the condition 2nd selection list query and change as below then everything works fine. Query does not give error on sql developer.

    Use: APEX 4.2.6 with Database 11g.

    1. apex_item.select_list_from_query ("11, b.") WAVE_USER,"
    2. "SELECT user name d.
    3. |' username r FROM dwd_user ",
    4. '',
    5. '' YES. ''
    6. '',
    7. "- Select user -",
    8. "f11_" | LPAD (a.DATA_ID, 4, '0'),
    9. NULL,
    10. 'NO '.
    11. )

    What is the data type of DWD_WAVE_ASSIGNMENT. WAVE_GROUP? If it is not a number, then it must be enclosed in quotes when it is used as a literal:

    apex_item.select_list_from_query(11, b."WAVE_USER",
    'SELECT username d, '
    
    ||'username r FROM dwd_user where groups = ' || dbms_assert.enquote_literal(b."WAVE_GROUP"),  
    
    '',
    'YES',
    '',
    '- Select User -',
    'f11_' || LPAD (a.DATA_ID, 4, '0'),
    NULL,
    'NO'
    )
    
  • contains the clause in the search for interactive report of a clob column

    Hello

    I use the Version APEX 4.2.4.00.08

    How to use an interactive report contains the when searching a clob column so that it uses the CONTEXT index?

    Thank you

    Chandra.

    I wrote it in the SQL used for IR

    I created an APEX application that stores all our it's the HOWTO documents. (word, excel, pdf)

    ctx_doc.snippet creates the HTML code.

    select D.doc_id
      ,D.doc_filename
      ,dbms_lob.getLength( D.doc_blob ) as download
      ,decode( :P12_SEARCH, null, '-- nothing --',
             ctx_doc.snippet( 'IT_DATA.DOC_CTX_IX' -- my Oracle Text index name
                                 , D.doc_id, :P12_SEARCH )
       )
       as snippet
    from it_data.documents D
    where :P12_SEARCH is null
    or contains( D.doc_blob, :P12_SEARCH ) > 0
    

    MK

  • Questions about the icons for interactive report

    When I created an interactive report, rectangular icons were created automatically on the left side of the report on each line.
    When you click on one of the icons, it displays the details of the line in vertical order.

    Here are my questions:

    1. when I hid a few columns in the interactive report and clicks on the icon, it does not display the details of the hidden column. But I want to hide these columns in the report but displays all the details when you click the icon. How can I do this?
    2. How can I hide the icons?
    3. How can I use the icons don't not to view the details of a line, but towards a modifiable page to edit the same details?

    Thank you
    Guy

    Hello

    1. when I hid a few columns in the interactive report and clicks on the icon, it does not display the details of the hidden column. But I want to hide these columns in the report but displays all the details when you click the icon. How can I do this?

    You can create another region, or the page that will show you your line of description of identifier, or rowid. You can do this by changing the column type of link to "target of the link to Custom.

    2. How can I hide the icons?

    Access the interactive report-> column-> change of link column link (link column exclude)

    3. How can I use the icons don't not to view the details of a line, but towards a modifiable page to edit the same details?

    The same as answer 1.

    Best regards, Kostya Proskudin!

  • Interactive report link column OF GURUS HELP requested

    Hello

    I have an interactive report data that return a name of an image file. I would use the link column (link to the custom target) option. My underlying query column has the name of the file image #ILINK #.

    The target URL is properly trained using the variable http://myserver.mycompany.com/cgi-bin/oracle/img.cgi?img_file=#ILINK#;size=full #ILINK # bind

    However, for the link icon (which is what I wanted to be a miniature dynamic of the linked image). The variable binding #ILINK # is not read. Is it because the link icon can be determined dynamically and must always be the same image?

    I can get this to work as a regular report using HTML expression, but I really want to harness the power of an interactive report.

    Thank you

    Hello

    in this case, you could build the necessary html tags in your SELECT statement, like this:

    SELECT EMPNO
         , ENAME
         , ''||ENAME||'' AS ENAME_LINK
      FROM EMP
    ;
    

    brgds,
    Peter

    Blog: http://www.oracle-and-apex.com

  • Add columns in the area of interactive reports

    Hello Experts,

    I will add a column more in the interactive area, but is not thinking about the main screen of the report...

    I only add a column in my query and set the position in the report area but still its not shown on main screen...

    Please help me...



    Thank you

    Xandot wrote:

    I will add a column more in the interactive area, but is not thinking about the main screen of the report...

    I only add a column in my query and set the position in the report area but still its not shown on main screen...

    After adding new columns to existing NPA, you must select them for display as developer and Save the new report as the default main.

    Please see the documentation for interactive report.

  • Am about to buy DW.  2 quick questions before proceeding.  (1) can I associate a DW created an EXTERNAL SQL Express database for the read/write site?  Can be made safe?  (2) am plans to use Contribute to allow non-technical users to end dry change

    Am about to buy DW.  2 quick questions before proceeding.  (1) can I associate a DW created an EXTERNAL SQL Express database for the read/write site?  Can be made safe?  (2) am plans to use Contribute to allow non-technical end users EASILY change the sections of the web site.  Can this work?  Thank you.

    I would like some ideas.

    A CMS is the standard solution in the industry today. The most common environment is LAMP (LINUX, Apache, MySQL, PHP).

    Some of us to write custom CMS systems for a living. I concentrate on CMS for retirement centers. There are all kinds of solutions CMS available ranging from generalist, off-the-shelf CMS like WordPress, completely custom, with a lot of opportunities in the meantime.

  • Synchronizing with the database for the relationship child parent - several associations is auto created

    JDeveloper version - 11.1.1.7.0


    I created a table say 'table ' have a primary key. Created a new ADF application and using business components of Table added table at my request.


    I then created another table in the database say 'TableChild' have a foreign key reference to a field in thetable '. In my application, I added the TableChild using business components of Table option.


    Associations and/or display of the links between the 2 tables will be created. Also tried to synchronized the OS using the option "Synchronize with the database", but it still reflects. Is it possible to automatically generate associations and post links and/or when a child table is added to the model.

    He is a well-known but in 11.1.1.7.0

    Check what to do with duplicate association which has all the information

    Timo

  • How to check the growth of the database for a database on ASM?

    Hello

    I have been using the following script to check the growth of the database (for DBs on file system):
    SELECT b.tsname tablespace_name ,
      MAX(b.used_size_mb) cur_used_size_mb ,
      ROUND(AVG(inc_used_size_mb),2)avg_increas_mb
    FROM
      (SELECT a.days,
        a.tsname ,
        used_size_mb ,
        used_size_mb - LAG (used_size_mb,1) OVER ( PARTITION BY a.tsname ORDER BY a.tsname,a.days) inc_used_size_mb
      FROM
        (SELECT TO_CHAR(sp.begin_interval_time,'MM-DD-YYYY') days ,
          ts.tsname ,
          MAX(ROUND((tsu.tablespace_usedsize* dt.block_size )/(1024*1024),2)) used_size_mb
        FROM dba_hist_tbspc_space_usage tsu ,
          dba_hist_tablespace_stat ts ,
          dba_hist_snapshot sp,
          dba_tablespaces dt
        WHERE tsu.tablespace_id    = ts.ts#
        AND tsu.snap_id            = sp.snap_id
        AND ts.tsname              = dt.tablespace_name
        AND sp.begin_interval_time > sysdate-7
        GROUP BY TO_CHAR(sp.begin_interval_time,'MM-DD-YYYY'),
          ts.tsname
        ORDER BY ts.tsname,
          days
        ) a
      ) b
    GROUP BY b.tsname
    ORDER BY b.tsname;
    And I think that he always gave me good results until I ran this script on a database (10.2.0.5) on ASM.

    Is it because the databases on the ASM are maintaied differently, OR do most proabbly there was no activity on this database in the last 7 days? I even ran this query for last 90/180 / day and it is me again after results:
    TABLESPACE_NAME                CUR_USED_SIZE_MB AVG_INCREAS_MB
    ------------------------------ ---------------- --------------
    SYSAUX                                   574.38            .36
    SYSTEM                                   514.69              0
    DATA                                    1593.25              0
    IDX                                         .06              0
    UNDOTBS1                                  69.06          -3.84
    USERS                                     96.13              0
    Thanks in advance!

    I have no reason to believe tablespaces under ASM are maintained differently, so the most likely explanation is the change in the activity of the DB.

    What is your AWR retention? The default value is 7 days, so if yours is set to the default value, and then by running the query for 90/180 days you would not give more information.

    If you want to get the output of your scripts, you may need to adjust the AWR retention and your tablespace SYSAUX respectively.

    If the DB is managed by Oracle Enterprise Manager (OEM), you can make tablespace forecast based on the measurements taken by the OEM. I did a presentation on this (NYOUG, VirtaThon) just now:
    http://iiotzov.files.WordPress.com/2011/08/iotzov_oem_repository.PDF
    http://iiotzov.files.WordPress.com/2012/05/OEM-repository-a-second-look.doc

    Lordane Iotzov

  • IE has a function of right click to "Create a shortcut" on the desktop for Web sites... FF has something like that?

    IE has a feature done right click to "Create a shortcut on the desktop" for Web sites... FF has a function simalr?

    No, but there is an extension that adds this functionality in Firefox.
    deskCut
    https://addons.Mozilla.org/en-us/Firefox/addon/66/

  • Create a button on the front for the diagram

    Hello

    I am looking to create a button on the front for the diagram.

    Is this possible? If so, how?

    Thank you!


  • Create a shortcut on the desktop for earpiece/headset bluetooth

    Shortcuts on Desktop__

    How can I create a shortcut on the desktop for operations settings and bluetooth headset?  I have created one for the helmet device, but I still have to go into that connect.

    Hi Lee1948,

    How did you create the shortcut?

    You can see the following article on how to create the shortcut and try the steps and check if that helps:

    http://Windows.Microsoft.com/en-us/Windows7/create-or-delete-a-shortcut

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • A web application from merger can also run on Smartphones? So what of the database for mobile?

    Mr President.

    A web application from merger can also run on Smartphones? So what of the database for mobile?

    Concerning

    Any web application can run on smart phone because you access this browser so no need of database or application server on your mobile phone

    It's the same access to a Web site on mobile

    If you are talking about the mobile app

    check - http://www.oracle.com/technetwork/developer-tools/adf-mobile/overview/adfmobile-1917693.html

    Ashish

  • How to check if the database for DRDA gateway is installed and configured.

    Hi all

    How can we check if the database for DRDA gateway is installed and configured.

    Our operating system is AIX 5 L 64 bit OS.
    RDBMS: 11.2.0.3

    Kind regards

    Duplicated
    How to check if the database for DRDA gateway is installed and configured.

    + - locked thread-+.

    Nicolas.

Maybe you are looking for

  • old itunes library

    How can I add my i - pod old songs included in my new itunes library (which is held today in my pc and i-phones, too)?

  • The latest version of Safari works with Mountain Lion

    The latest version of Safari works with Mountain Lion

  • Photo book purchase

    "The store is currently stopped for updates. We'll be back soon. » Is the message I get when trying to buy a book completed in the Photos. Is the store down for updates or is there something else I should do? Sawtell95

  • Satellite click Mini L9W - B: loading new problem?

    Hi all I have some serious looking problems with my mini load click again (6 weeks) satellite.It seems to be a new addition to an already long list, but I had a glance at previous posts and has not found the same problem. The battery ran out a week a

  • External battery V5 - 122P

    User's Guide points out this pretty little port and holes on the bottom V5 - 122P threaded to fix an "optional" external battery This can also be seen mentioned on tech review sites or lists of products at different dealers. She fails to mention a pa