Page copy in Apex 4.2

Hi,
I'm receiving an error while copying a page in Apex 4.2 to a different Apex 4.2 installation: "integrity constraint (APEX_040200.WWV_FLOW_STEP_UI_FK) violated - parent key not found."
This is due to a different user_interface_id, a problem similar to the one in this thread: Re: Copy Page between Applications but the suggested solution doesn't apply. We have multiple Apex installations with basically the same application. We need to copy new versions of the same page to all installations. We have hoped that the same workspace_id will save us from editing the exported file, but this new parameter forces us to do so. This is, of course, tiresome and unnecessary.
Is there any way to set the applications' user_interface_id to make it the same on different Apex installations?
Thanks.

I'm having the issue. Have you found a solution.(other than editing the export file)

Similar Messages

  • Event page view in APEX 4.0

    hi -- It looks to me like the new "tree" page view in APEX 4.0 shows only regions/processes/items, etc defined on the current page. If I recall correctly, the "event" view in
    3.2 showed app processes and page 0 regions, etc intertwined w/ the actual page items.
    Is there a view available in 4.0 that mimics this event view? I found it very handy...
    thanks,
    carol

    Is there a view available in 4.0 that mimics this event view? I found it very handy...Now available from the page Utilities pop-up menu: Utilities > Page Events.

  • Updating Page Sentry for APEX 4.0

    Hi there,
    I've found this forum and the regular posters and mods to be extremely helpful, so this post is more of a give-back, I hope. We recently upgraded a dev system of apex 3.0.x to 4.0.2 and ran into some issues where our use of some Page Sentry auth code that's been floating around a long time became a problem for us in terms of properly managing session state, URL forwarding, and acceptance of URL parameters for setting the value of page items in session.
    I've posted [an article on our blog|http://zetetic.net/blog/2010/12/10/updating-page-sentry-for-apex-4-0-upgrade/] explaining the whole thing in what is probably very boring detail over here, and if you're so inclined, we'd love your feedback. But just so there's no need to go anywhere, here's the page sentry we ended up implementing, which makes some pretty significant mods to the old page sentry to account for what we perceived as changes in APEX's behavior somewhere in our move from 3.0 all the way up to 4.0.2.
    You can view the following function nicely formatted [at this gist|https://gist.github.com/736369] :
    <pre><code>
    CREATE OR REPLACE function PASSPORT.oamPageSentry ( p_apex_user in varchar2 default 'APEX_PUBLIC_USER' )
    return boolean
    as
    l_cgi_var_name varchar2(100) := 'REMOTE_USER';
    l_authenticated_username varchar2(256) := upper(owa_util.get_cgi_env(l_cgi_var_name));
    l_current_sid number;
    l_url_sid varchar2(4000);
    l_url varchar2(4000);
    l_app_page varchar2(4000);
    begin
    -- check to ensure that we are running as the correct database user
    if user != upper(p_apex_user) then
    return false;
    end if;
    if l_authenticated_username is null then
    return false;
    end if;
    l_current_sid := apex_custom_auth.get_session_id_from_cookie;
    l_url := wwv_flow_utilities.url_decode2(owa_util.get_cgi_env('QUERY_STRING'));
    wwv_flow.debug('oamPageSentry: request from ' || l_authenticated_username || ' (sid=' || l_current_sid || ') for ' || l_url);
    -- split on zero or more non-colon characters, and extract the URL session ID if it is present
    l_url_sid := REGEXP_SUBSTR(l_url, '[^:]*', 1, 5);
    wwv_flow.debug('oamPageSentry: extracted current sid from url as ' || l_url_sid);
    -- the post_login call at the end of this function will blindly append the session ID to the URL, even if it is
    -- a deep link. Detect this condition, strip the duplicate session identifier, and redirect.
    if REGEXP_SUBSTR(l_url, '^.*:' || l_current_sid || ':.+:' || l_current_sid || '$') IS NOT NULL then
    l_url := REGEXP_REPLACE(l_url, ':' || l_current_sid || '$', '');
    wwv_flow.debug('oamPageSentry: identified duplicate session id on URL, stripping and redirecting to ' || l_url);
    owa_util.redirect_url('f?'|| l_url);
    return false;
    end if;
    -- apex 4.0 appears to have problems setting session variables (possibly due to new session validation)
    -- if the Session identifier present in the URL does not agree with the session identifier in the cookie
    -- detect this condition, and replace the invalid URL session identifier in the URL with the valid
    -- ID in from the cookie and redirect to the fixed URL
    if owa_util.get_cgi_env('REQUEST_METHOD') = 'GET' AND l_current_sid <> TO_NUMBER(l_url_sid) then
    l_url := REGEXP_REPLACE(l_url, '^(p=.+?:.+?):\d*(.*)$', '\1:' || l_current_sid || '\2');
    wwv_flow.debug('oamPageSentry: current sid ' ||l_current_sid || ' is diferent from url sid ' || l_url_sid || ', redirecting to url' || l_url);
    owa_util.redirect_url('f?'|| l_url);
    return false;
    end if;
    -- 1. If the session is valid and the usernames match then allow the request
    -- 2. If the session is valide but the usernames do not match, there may be session tampering going on. log the session out
    -- 3. If the session id is not valid, generate a new session, and register it with apex
    if apex_custom_auth.is_session_valid then
    apex_application.g_instance := l_current_sid;
    wwv_flow.debug('oamPageSentry: current sid ' || l_current_sid || ' with username ' || apex_custom_auth.get_username || ' is valid');
    if l_authenticated_username = apex_custom_auth.get_username then
    wwv_flow.debug('oamPageSentry: current session username ' || apex_custom_auth.get_username || ' equal to header username ' || l_authenticated_username);
    apex_custom_auth.define_user_session(
    p_user=>l_authenticated_username,
    p_session_id=>l_current_sid);
    return true;
    else
    wwv_flow.debug('oamPageSentry: username ' || apex_custom_auth.get_username || ' mismatch with ' || l_authenticated_username || ' loggout');
    apex_custom_auth.logout(
    p_this_app=>v('APP_ID'),
    p_next_app_page_sess=>v('APP_ID')||':'||nvl(v('APP_PAGE_ID'),0)||':'||l_current_sid);
    apex_application.g_unrecoverable_error := true; -- tell apex engine to quit
    return false;
    end if;
    else -- application session cookie not valid; we need a new apex session
    wwv_flow.debug('oamPageSentry: current session ' || l_current_sid || ' is not valid');
    l_current_sid := apex_custom_auth.get_next_session_id;
    wwv_flow.debug('oamPageSentry: generated new session id ' || l_current_sid);
    apex_custom_auth.define_user_session(
    p_user=>l_authenticated_username,
    p_session_id=> l_current_sid );
    apex_application.g_unrecoverable_error := true; -- tell apex engine to quit
    if owa_util.get_cgi_env('REQUEST_METHOD') = 'GET' then
    wwv_flow.debug('oamPageSentry: GET request, remembering deep link ' || l_url);
    wwv_flow_custom_auth.remember_deep_link(p_url => 'f?'|| l_url );
    else
    l_url := 'f?p='||
    to_char(apex_application.g_flow_id)||':'||
    to_char(nvl(apex_application.g_flow_step_id,0))||':'||
    to_char(apex_application.g_instance);
    wwv_flow.debug('oamPageSentry: POST request, remembering deep link ' || l_url);
    wwv_flow_custom_auth.remember_deep_link(p_url=> l_url );
    end if;
    -- in previous versions of apex the remember_deep_link call would actually work and cause
    -- post_login to redirect to the target URL. This doesnt work any more in 4.0. Instead,
    -- we'll pass the target page in to the post_login call directly. Post login will blindly
    -- append the session ID to the end of p_app_page when it redirects, but we
    -- clean that up with the first cleanup redirect at the beginning of the function
    l_app_page := SUBSTR(l_url, 3, LENGTH(l_url) - 2);
    wwv_flow.debug('oamPageSentry: post_login for ' || l_authenticated_username || ' app_page ' || l_app_page );
    apex_custom_auth.post_login(
    p_uname => l_authenticated_username,
    p_session_id => nv('APP_SESSION'),
    p_app_page => l_app_page
    return false;
    end if;
    end oamPageSentry;
    </code></pre>

    Billy,
    Thanks a lot for this great info. It seems to have solved the problem I have been having with an NTLM page sentry function for the last 2 or 3 days. Very difficult stuff to debug what is going on inside these functions when they (obviously) behave differently once you have logged in etc.
    As I said, your solution seems to solve my problem - but I have a couple of questions :
    1. Is this related to 10347091 which is mentioned on http://www.oracle.com/technetwork/developer-tools/apex/downloads/apex402knownissues-189793.html ?
    If yes, did you try the patch?
    2. Have you logged a bug or had any feedback (externally or within the forum) from Oracle people on this issue?
    I was about to log a bug regarding the deep linking and FSP_AFTER_LOGIN_URL not behaving correctly when I noticed the known issues and now your valuable work. I was going to try the patch, but I'd rather not apply it unless I know it will solve my problem.
    Please let me know.
    Thanks
    Glen

  • Pix don't show in document that I made in Pages, copied and pasted onto an email

    I've got a six month old Mac Air with OS X 10.9.2. I made a short document in Pages, version 5.2 (1860). I used the images link to put some photos into the document. I want to send this document to many people, using who knows what operating systems. I shared it with a few people first, but one person couldn't even open it, while the other person had a "hard time" (?) opening it, but finally got it opened, while the others (I thank them all very much ) haven't responded.
    It isn't working as easily as I want, and feel that maybe it's not such a good idea to send the document out as an attachment anyway. So, now I want to copy and paste the whole document right into the body of the email. I've sent the document to myself to see if it comes up okay. Everything looks great except that none of the pictures show up. They're important.
    Is there some requirement that the pictures are limited to a certain size, or a certain type, or some other requirement? The moment the document is pasted into my Gmail email, the pictures don't show up. I'd suppose if Gmail had a size limit they'd at least show up when the document (including the photos) is pasted into the body of the email, and just wouldn't show up when the email is opened up.
    Thanks for any help.
    Troy.

    Got this in my inbox a little while ago:
    Hello there,
    We have heard about your issue from the discussion thread below:
    https://discussions.apple.com/thread/6145799?tstart=0
    We would like to know if you would be able to provide the following:
    - OSX and Pages versions- Is iCloud file sync On for Pages
    - copy of a document thatdoes not show images
    - details about workflow before the image dow not show in Pages
    - is the document stored on the local hard drive or on a network server
    Thank you,
    The iWork Team
    16757692
    I clicked the link but, it seems odd to me that this didn't show up here in the thread. I guess this is legitimate though.
    Here are my answers -
    - OSX and Pages versions
    As I mentioned in my initial post I've got OS X 10.9.2 on a 2013 model MacBook Air, and Pages 5.2 (1860).
    - Is iCloud file sync On for Pages
    I don't know where to find iCloud file sync in Pages. Searching the internet didn't help. I found some forum threads but they don't make any sense to me. I'm not so computer savvy and am still new to Mac. I can share links via iCloud by sending files as Pages documents, PDFs, Word documents, or ePubs. Maybe this is what you mean. But I don't see anything about turning it on or off.
    - copy of a document thatdoes not show images
    Only way I know of is to use Google Docs. https://docs.google.com/document/d/1pRfzSI8gpzKRavCbFRdLAUjddVqTMyyvTllJNvCVAeA/ edit
    - details about workflow before the image dow not show in Pages
    I uploaded all the images using the "Media" icon in the Pages task bar at the top of the screen. Is there anything more that you'd like to know about the workflow?
    - is the document stored on the local hard drive or on a network server
    Local hard drive.
    Thanks much.

  • APEX Bug: Page Copy with Items in Region on Page 0

    I've created a region on Page 0 which is a common place holder for items. On all the pages developers will link several items to this region.
    If I copy a page that has items associated to a region on Page 0 those items are not copied. Items that are associated to regions on the current page get copied
    Martin
    http://www.talkapex.com

    Hi Martin,
    I have filed bug# 10386419.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Page copy seems to mess up item validation referenced fields in new page

    Hello team,
    this morning i create two pages as a copy of an existing page in Apex 4.0.1.
    This page contained 4 regions, each one containing 4 items, sort of:
    reg1
    P44_ITEM_A1
    P44_ITEM_B1
    P44_ITEM_C1
    P44_ITEM_D1
    reg2
    P44_ITEM_A2
    reg4
    P44_ITEM_D4
    There were field item validations defined on each pair of items P44_ITEMCn - P44_ITEMDn and each validation was associated with its corresponding field (the element attribute linking the validation with the error message visualization i mean).
    After creating the new page, i saw that some of these validations in the new page had lost their associated item attribute value or they were associated to the item with the highest item sequence, for instance P44_ITEM_A1 lost its associated item, while P44_ITEM_D1 was associated to P44_ITEM_D4.
    I just did this again a few seconds ago, so i am pretty sure this is a repeatable error.
    Flavio
    http://oraclequirks.blogspot.com
    http://www.yocoya.com

    Hi Flavio,
    I was able to reproduce this, of sorts. I created 2 regions each containing 4 page items, named in the way you describe. Then created item validations on all of those page items. Copied the page and the copied page contains some validations with a null 'Associated Item' value. Although, none were changed to a different item as you describe, in my test case.
    I have filed bug #10198224 for this issue.
    Thanks for reporting.
    Regards,
    Anthony

  • Page copy error in 4.2.1

    Hi all,
    just upgraded our Apex server to 4.2.1.00.08 and are now getting the following error when trying to copy a page from development server to production server:
    Execution of the statement was unsuccessful. ORA-20001: Error creating page name="Renewals" id="25" ORA-02291: integrity constraint (APEX_040200.WWV_FLOW_STEP_UI_FK) violated - parent key not found
    begin
    wwv_flow_api.create_page (
      p_flow_id => wwv_flow.g_flow_id
    ,p_id => 25
    ,p_user_interface_id => 65830370515616 + wwv_flow_api.g_id_offset
    ,p_tab_set => 'T_MONITORING'
    ,p_name => 'Renewals'
    ,p_step_title => 'Renewals'
    ,p_allow_duplicate_submissions => 'Y'
    ,p_step_sub_title => 'Renewals'
    ,p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS'
    ,p_first_item => 'AUTO_FIRST_ITEM'
    ,p_include_apex_css_js_yn => 'Y'
    ,p_autocomplete_on_off => 'ON'
    ,p_step_template => 15024619232924512 + wwv_flow_api.g_id_offset
    ,p_page_is_public_y_n => 'N'
    ,p_protection_level => 'N'
    ,p_cache_page_yn => 'N'
    ,p_cache_timeout_seconds => 21600
    ,p_cache_by_user_yn => 'N'
    ,p_help_text =>
    'No help is available for this page.'
    ,p_last_updated_by => 'BIRMAG'
    ,p_last_upd_yyyymmddhh24miss => '20130114142443'
    null;
    end;
    ORA-20001: Error creating page name="Renewals" id="25" ORA-02291: integrity constraint (APEX_040200.WWV_FLOW_STEP_UI_FK) violated - parent key not found This effectively makes it impossible to distribute application changes from development to production.
    I've found doc.ID 1511391.1 on the Oracle support pages that says to manually edit the export file, replacing the p_user_interface_id with a valid id from the target database, but this is of course no good as a permanent solution.
    Anyone know if a patch for this in the pipeline?
    Kind regards,
    -Haakon-

    Hi Haakon,
    single component export/import is only supported for application which are identical on the source and target system. It relies on the fact that other referenced components (for example user interface, templates, ...) use the same IDs on body systems.
    Because of the APEX 4.2 upgrade, that's not the case anymore. As part of the upgrade, several new components had to be created on the fly which do now have different IDs on dev and prod. That's why the single component export/import doesn't work anymore.
    If the single component export/import is used to patch applications, it's recommended to do a full export of the app on dev and import it into prod after upgrading to a newer version of APEX to make sure that body systems are using the same component IDs. After that your single component deployment should work as before.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Blank Page after fresh APEX installation

    I have a running Glasfish + APEX Listener einvironment with almost 8 different DB targets --> all of them work well.
    Now I tried to add another database target.
    To do so I install APEX 4.2.2 in a fresh ORACLE 11.2 (there was no APEX in before) database. I do all given in the installation doc and had no error during APEX installation.
    I copied an existing configuration in Listener environment and the result is, runnning the URL in Browser, a blank white PAGE with no content - no HTML content inside nor any error at client or server side.
    Does anyone have a tip how to tackle this down.
    Oracle GlassFish Server 3.1.2.2 (build 5)
    apex_listener.2.0.2.133.14.47
    FIREBUG
    not work
    Nachricht geändert durch Fischert:
    Sorry was an installtion misunderstanding. I installed runtime only version.
    Solved

    I have a running Glasfish + APEX Listener einvironment with almost 8 different DB targets --> all of them work well.
    Now I tried to add another database target.
    To do so I install APEX 4.2.2 in a fresh ORACLE 11.2 (there was no APEX in before) database. I do all given in the installation doc and had no error during APEX installation.
    I copied an existing configuration in Listener environment and the result is, runnning the URL in Browser, a blank white PAGE with no content - no HTML content inside nor any error at client or server side.
    Does anyone have a tip how to tackle this down.
    Oracle GlassFish Server 3.1.2.2 (build 5)
    apex_listener.2.0.2.133.14.47
    FIREBUG
    not work
    Nachricht geändert durch Fischert:
    Sorry was an installtion misunderstanding. I installed runtime only version.
    Solved

  • Make a page appear on APEX

    Hi,
    Novice in need of assistance!!!!
    so I'm very new to APEX, and i have built an application which has a number of pages, some of which are hidden, and some are visible when you run the application.
    I have had instances where a page does not appear in the tabs across the top and I have been able to get round the problem by copying a page with similar properties and up until now, this has worked for me.
    however, I have one page which refuses to appear, it is included in the tab set, no display condition, but i just can't get this tab to appear.
    I have even shortened the names of the other tabs to make sure it wasn't a case of having to put a scroll bar at thew bottom, it all fits, and there is plenty of space for the tab to appear. I am not sure if there is a limit to the number of pages you can have to appear but could that be the problem? I have 16 pages in my application, but i only need 11 of them to appear including the one I am having problems with
    hope i am making my self clear but please inform me if you need further information.
    thanks in advance.

    I have 15 tabs showing in an application.  So that is not it.
    For debugging, please set this tab to display at the left-most edge so we know that's not the problem.
    There are some tedious things you could try.
    1)  Create a blank page with Tab that does display.
    2)  Copy elements on this page to the new one.
    I don't know what you have on this page but it's strange that nothing displays on the page.
    What do you mean by "it refuses to appear"?   Do you mean the tab doesn't appear or the page doesn't appear?   If you go to that page and "run" it, what happens?
    Thinking ...  -- Howard

  • XE Database home page gone after APEX 3.2 upgrade

    I just upgraded the version of HTMLDB/APEX on my XE database from 2.0 to APEX 3.2. All went well, however, the database home page seems to have disappeared. When I go to Start|Programs|Oracle Database 10g Express Edition|Database home page, I now get the APEX start page. Does the upgrade blow away the Database Home Page?

    Hello:
    This is expected. If you decide to upgrade the Application Express within your Oracle Database XE, you will lose the Oracle APEX interface to perform some of your database management functions. This includes the ability to create and alter users, set database parameters, etc. To perform these functions, you will need to use either SQL Developer or SQL*Plus.http://www.oracle.com/technology/products/database/application_express/html/3.0.1_and_xe.html
    varad

  • How do you populate a page item in apex with a value read from excel

    Dear All
    I am working on application where I am uploading a csv file in oracle apex. I then need to access a value in Cell B2 of the csv file and populate a page item called
    :P2100_AUTHORISATION_ID with this value. Many of the examples I have found upload the data using v_data-array into a table but I don't need to do that I just need to get the value from the csv file and then display additional information about the file allowing the user to either or continue or cancel the request to upload. I am running into a small problem that I can't explain and wondered if anyone had any ideas.
    Here is the code I am using to try and populate and item called :P2100_AUTHORISATION_ID but when I poulate the item the value is always 0. But if I replace the line :P2100_AUTHORISATION_ID:= v_data_array(2) with a raise_application_error(-20001,v_data_array(2)); The correct value is displayed in the eror. Any Help would be appreciate and I apologise in advance if this akes no sense at all:-)
    declare
    --variables needed to read excel data from flow files
    v_blob_data BLOB;
    v_blob_len NUMBER;
    v_position NUMBER;
    v_raw_chunk RAW(10000);
    v_char CHAR(1);
    c_chunk_len number := 1;
    v_line VARCHAR2 (32767) := NULL;
    v_data_array wwv_flow_global.vc_arr2;
    v_rows number;
    v_sr_no number := 1;
    begin
    --------------------------------------get file info from www_flow_files
    select blob_content into v_blob_data from wwv_flow_files
    where last_updated = (select max(last_updated) from wwv_flow_files where UPDATED_BY = :APP_USER) and id = (select max(id) from wwv_flow_files where updated_by = :APP_USER);
    v_blob_len := dbms_lob.getlength(v_blob_data);
    v_position := 1;
    --Read and convert binary to char
    WHILE ( v_position <= v_blob_len ) LOOP
    v_raw_chunk := dbms_lob.substr(v_blob_data,c_chunk_len,v_position);
    v_char := chr(p_bl_wd_data_entry.hex_to_decimal(rawtohex(v_raw_chunk)));
    v_line := v_line || v_char;
    v_position := v_position + c_chunk_len;
    -- When a whole line is retrieved
    IF v_char = CHR(10) THEN
    -- Convert comma to : to use wwv_flow_utilities </span>
    v_line := REPLACE (v_line, ',', ':');
    -- Convert each column separated by : into array of data </span>
    v_data_array := wwv_flow_utilities.string_to_table (v_line);
    --get filename from wwv_flow_files
    select filename into :P2100_FILE_NAME from wwv_flow_files where last_updated = (select max(last_updated) from wwv_flow_files where UPDATED_BY = :APP_USER) and id = (select max(id) from wwv_flow_files where updated_by = :APP_USER);
    :P2100_AUTHORISATION_ID:= v_data_array(2);
    -- Clear out
    -- v_line := NULL;
    --v_sr_no := v_sr_no + 1;
    END IF;
    END LOOP;
    end;
    Best Regards
    Lynn

    Hi Joel
    Continuing on from my last question, there was something else I want to ask if you dont mind.
    Now that I have the v_data_array(2) value in a page item I would like to use as an input value to a procedure to return some information I need displayed on the page. To do this I need to convert it to a number but when I try to so this I get the following error
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    When I use the wwv_flow.debug that you told me about it is outputting a value '4851 ' so it look like there may be some sort of asii character causing a problem. I have tried using trim(v_data_array(2)) and ascii(v_data_array(2)) but nothing seems to work.
    Would you know how to convert a v_data_array value to a number? At the moment I am attemting to do it withiin the same code I attached in my earlier post but I have replaced the assignment of :P2100_AUTHORISATION_ID with the code below where P_BL_WD_DATA_ENTRY.getauthid is the procedure returning the values I need.
    :P2100_AUTHORISATION_ID:= P_BL_WD_DATA_ENTRY.getauthid(to_number(v_data_array(2)));
    Thanks
    Lynn

  • How to get the class name of a page in oracle apex

    Hi All,
    Can anyone please let me know how we can get the class name of a page or region in oracle apex? I would also like to know how we get the DOM object ID for particular item.
    I appreciate any help on this.
    Regards
    Raj

    RajEndiran wrote:
    Can anyone please let me know how we can get the class name of a page or region in oracle apex?What do you mean with class name? The name of the template (e.g. the css style class name)?
    I would also like to know how we get the DOM object ID for particular item.Use firebug or inspect the source code of the rendered page to see the object IDs. Other then then, the typical ID of page items is the name of the item. For regions you can set your own ID.

  • Error during rendering of page item P3_DEPARTMENT_ID - Apex 4.2 2+Day Guide

    When I replace the code given in Apex 4.2  2+Day developer guide, it shows the following error.
    Error is :
    Error during rendering of page item P3_DEPARTMENT_ID. ORA-06550: line 5, column 1: PLS-00428: an INTO clause is expected in this SELECT statement
    is_internal_error: true
    apex_error_code: WWV_FLOW_FORM.UNHANDLED_ERROR
    ora_sqlcode: -6550
    ora_sqlerrm: ORA-06550: line 5, column 1: PLS-00428: an INTO clause is expected in this SELECT statement
    component.type: APEX_APPLICATION_PAGE_ITEMS
    component.id: 3996015574888943
    component.name: P3_DEPARTMENT_ID
    error_backtrace: ORA-06512: at "SYS.DBMS_SYS_SQL", line 1249 ORA-06512: at "SYS.WWV_DBMS_SQL", line 1021 ORA-06512: at "SYS.WWV_DBMS_SQL", line 1090 ORA-06512: at "APEX_040200.WWV_FLOW_DYNAMIC_EXEC", line 697 ORA-06512: at "APEX_040200.WWV_FLOW_META_UTIL", line 245 ORA-06512: at "APEX_040200.WWV_FLOW_FORMS", line 989 ORA-06512: at "APEX_040200.WWV_FLOW_FORMS", line 1428
    the code of the book 2+Day developer which I used in my edit report region source :
    SELECT e.EMPLOYEE_ID,
    e.FIRST_NAME,
    e.LAST_NAME,
    e.HIRE_DATE,
    e.SALARY,
    e.COMMISSION_PCT,
    calc_remuneration(salary, commission_pct) REMUNERATION,
    e.DEPARTMENT_ID,
    d.DEPARTMENT_NAME
    FROM OEHR_EMPLOYEES e,
    OEHR_DEPARTMENTS d
    WHERE e.DEPARTMENT_ID = d.DEPARTMENT_ID(+) AND
    (e.DEPARTMENT_ID = :P3_DEPARTMENT_ID or
    (e.DEPARTMENT_ID is null and nvl(:P3_DEPARTMENT_ID,'-1') = '-1'))

    0e342a31-11d2-4cd7-ac7c-802ef455d578 wrote:
    Please update your forum profile with a recognisable username instead of "0e342a31-11d2-4cd7-ac7c-802ef455d578": Video tutorial how to change nickname available
    Always include the information detailed in these guidelines when posting a question: how to get answers from forum
    When I replace the code given in Apex 4.2  2+Day developer guide, it shows the following error.
    When you replace what code? Where? How? Provide the exact steps necessary to reproduce the problem.
    Error is :
    Error during rendering of page item P3_DEPARTMENT_ID.
    ORA-06550: line 5, column 1: PLS-00428: an INTO clause is expected in this SELECT statement
    is_internal_error: true
    apex_error_code: WWV_FLOW_FORM.UNHANDLED_ERROR
    ora_sqlcode: -6550
    ora_sqlerrm: ORA-06550: line 5, column 1: PLS-00428: an INTO clause is expected in this SELECT statement
    component.type: APEX_APPLICATION_PAGE_ITEMS
    component.id: 3996015574888943
    component.name: P3_DEPARTMENT_ID
    error_backtrace: ORA-06512: at "SYS.DBMS_SYS_SQL", line 1249 ORA-06512: at "SYS.WWV_DBMS_SQL", line 1021 ORA-06512: at "SYS.WWV_DBMS_SQL", line 1090 ORA-06512: at "APEX_040200.WWV_FLOW_DYNAMIC_EXEC", line 697 ORA-06512: at "APEX_040200.WWV_FLOW_META_UTIL", line 245 ORA-06512: at "APEX_040200.WWV_FLOW_FORMS", line 989 ORA-06512: at "APEX_040200.WWV_FLOW_FORMS", line 1428
    The error page indicates that the error occurred in rendering the P3_DEPARTMENT_ID page item. What are the Source and Default settings for this item?

  • Reset data picker page item by selection page item in Apex

    Hi,
    Need to create a report based on date ranges and for this created a interactive report and two page item datepicker fields P15_fromdate and p15_todate. Report works fine with this criteria.But user wants one more field quarter(P15_quarter), When they select the quarter the range values has to get reset and as to get applied to report.
    Issue here is unable to find a way to set the page range item values based on the quarter field selection
    Need help how to reset the page item fields.
    Thanks in advance.
    Thanks,
    Sandeep

    Ligon,
    You're right to think this is pretty laborious stuff. A co-worker wanted to do the same, to make sure users didn't lose a change when clicking Cancel. I suggested he look at calculating the query checksum before and after, which he tried. But it got very cumbersome very fast and he ended up dropping the idea. He's fairly new with Apex, but he's also a quick study, so it's not like he's a novice coder.
    I don't have his implementation details anymore to even share with you.
    Sorry I couldn't be more help.
    Good luck,
    Stew

  • Pages Copy & Paste Style Buttons don't change font size and style?

    Shouldn't the font size and style also be copied and pasted when I use the buttons to copy & paste the style within a page?

    Hello
    It seems that the description of these buttons in the Help is not clear.
    After several attempts, one may understand that they don't apply to attributes inserted "by hand" with cmd + B for instance but to "styles" defined in the Styles drawer.
    Yvan KOENIG (from FRANCE dimanche 30 mars 2008 20:34:35)

Maybe you are looking for

  • Windows 7 64 bit: Just installed firefox and pages will not load, or are very slow, IE explorer loads instantly

    I installed windows ultimate 64 bit, Tried to install firefox for my default browser. Internet explorer loads everything like normal, no problem but firefox will not load or does after 5 mins + I checked my firewall windows provides and Avira to see

  • Hotmail: moving mail to a new folder, it just disappears????

    Hi All          Hope you can Help me!!!! I have just set up a new Hotmail account through Exchange on my iphone4. Through Hotmail on a browser i have made folders for various email to go into. However when i move them they just disappear??, the folde

  • Links in Stickies

    Is there a way to create a "clickable" link in Stickies? Specifically, I want to cut-n-paste a group of links from Goggle maps for my daily trip routing into a sticky note. I don't want to create a Google account and then have to log-in, etc. each ti

  • Problems with saving in Illustrator CS3 - Windows

    I'm using Illustrator CS3, Windows XP. Even the smallest files take a very long time to save. I try to save and it initally appears as if nothing is happening. If I click again, a portion of my screen goes white and the hour glass sits for what feels

  • Cannot place photos in events anymore

    I don't have that many photos or events (7,000, ok, a lot) but I now have discovered that I cannot place photos into events anymore, and I cannot create new events. Previously I had photos organized into both events (by country) and into photo albums