Help with APEX.COLLECTIONS in v. 3.2

Hello, we are trying to create an apex.collection in our program similar to the one used in the sample application "Matrix Order 1.0"
Working Code used in "Matrix Order 1.0" is as follows:
if APEX_COLLECTION.COLLECTION_EXISTS (p_collection_name => 'MATRIX' ) then
APEX_COLLECTION.DELETE_COLLECTION (p_collection_name => 'MATRIX' );
end if;
APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY(
p_collection_name => 'MATRIX',
p_query => 'select PRO_STYLE,PRO_COLOUR,PRO_UNIT_PRICE,S,M,L,XL from MATRIX_PRODUCTS_BY_SIZE order by 1,2,3' );
What we've tried in ours is as follows:
if APEX_COLLECTION.COLLECTION_EXISTS (p_collection_name => 'TRAINING' ) then
APEX_COLLECTION.DELETE_COLLECTION (p_collection_name => 'TRAINING' );
end if;
APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY(
p_collection_name => 'TRAINING',
p_query => 'select * from IDEAS_USERS_VIEW' );
End result is a message stating "no data found"
Any thoughts?
Additional information:
we've tried above creating a view from a table, we've also tried putting the table name right in the query field - same results.
we've also tried several over variations of the code found on the web such as the following:
APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY(
p_collection_name => 'TRAINING',
p_query => 'select * from IDEAS_USERS_VIEW' ,
p_generate_md5 => 'NO' );
Again - same result - "no data found"
Please Help!

My teammate figured it out.
the problem was under the Conditional Processing section they had the following set:
Condition Type = "Request = Expression 1"
Expression 1 = NEW
Solution was to set to "No Condition" and deleted the value of "NEW"
I'm sure we'll be back soon with questions on how to update and store it.... stay tuned.

Similar Messages

  • Need help with APEX Collection - C

    Hi
    I have values in 2 fields on my page that I use to build a collection - "On Submit - After Computations and Validations"
    I want to delete collection using HTMLDB_COLLECTION.DELETE_COLLECTION ; and recreate if user changes a value in any of the above 2 fileds ( field 1 is LOV and field 2 is DATE )
    I know I have to use AJAX but could not figure out how to code it . Can someone please direct me to any similar peice of code or suggest the steps?
    Thanks
    Aali

    You can find it here:
    http://apex.oracle.com/pls/otn/f?p=31517:246
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Help with apex to ebusiness suite 11.5.10

    Hello,
    posted on ebusiness suite side, but they say to try here on apex side.
    We are trying to follow the Cabot document found at
    http://www.stuffspec.com/Read/_sp.d3d3Lm9yYWNsZS5jb20-sp..sltechnetwork.sl_developer-tools.sl_apex.sl_apex-ebs-wp-cabot-consulting-169064.pdf
    but are having troubles just trying to get the ebusiness set up part done.
    We are having troubles on page 5 of 8 where it talks about creating the plsql form function with the following attributes.
    When we set the Properties/Type to be SSWA plsql function, it does not want to accept it and will not save as SSWA plsql function.
    I have searched and read and followed so many links my head is spining. Has anyone else had this type of issue, and could tell us what we are doing wrong? Does the Cabot approach work for everyone, or is there another method that will work better?
    We are using a stand alone apex server. We have a 11.5.10.2 e-bus suite which we use SSO for the hrSelfService. We are trying to add the new apex application to the hrselfservice menu. I following the Cabot white paper and I have created the procedure apex_launch as follows. I have some questions about it that are inline:
    PROCEDURE APPS.apex_launch (
    application IN NUMBER
    , page IN NUMBER DEFAULT 1
    , request IN VARCHAR2 DEFAULT NULL
    , item_names IN VARCHAR2 DEFAULT NULL
    , item_values IN VARCHAR2 DEFAULT NULL)
    Is
    Begin
    OWA_UTIL.mime_header('text/html', false); ---- Is the url correct? Since my apex server is separate, do I need the APPS_FRAMEWORK_AGENT???
    OWA_UTIL.redirect_url( ---- Do i need to create a DAD for pls/apex?
    'https://ourserver.school.edu/pls/apex/f?p='||
    application||':'||page||'::'||request||':::'||
    item_names||':'||item_values);
    End apex_launch;
    I created the form function with the following attributes:
    Properties/Type -> SSWA plsql function
    Web HTML/HTML Call -> apex_launch
    Form/Parameter -> application=310
    I am able to save the plsql form function with no errors. However, when i go back in to look at the form function: property type, it is set to "database provider portlet". (I have opened an SR on this issue and as yet, i don't have a solution.)
    I then add the new form function to the hr self service menu. When I go into self service, the new function does not display.
    If I change the property to SSWA plsql function that opens a new window (Kiosk mode) and save the form function and don't change anything else, when I go into self service the new function displays. However ,when I click on it, it opens another e-bus suite logon page. After entering the username/password it just brings up the ebus suite application, not the apex application.
    Can anybody help me? thanks.
    Thank you,
    Mark

    Hi Mark,
    Nope, that is the one of the issue im facing still that is the single sign on(even if i integrated APEX with EBS R12), im having issues with that.
    It is asking two login credentials for me
    <li>one is Ebs login credentials
    <li>The other one is Apex Login credentials.
    Soon after logging into the ebs, if i clicked the APEX menu means, the APEX login page is appearing.
    If it is SSO means, the APEX login page should not appear soon after clicking the APEX menu in the EBS.
    How to pass my APEX login credentials to the EBS, so that i can enter into my APEX application (via) EBS only with the EBS login page. Soon after entering into the EBS login page into the application. While if i clicked the APEX menu means, i need to navigate directly to the APEX Application page. And APEX login page should not appear.
    Thanks
    Regards,
    Mini

  • Need help with Bulk Collect ForAll Update

    Hi - I'm trying to do a Bulk Collect/ForAll Update but am having issues.
    My declarations look like this:
         CURSOR cur_hhlds_for_update is
            SELECT hsh.household_id, hsh.special_handling_type_id
              FROM compas.household_special_handling hsh
                 , scr_id_lookup s
             WHERE hsh.household_id = s.id
               AND s.scr = v_scr
               AND s.run_date = TRUNC (SYSDATE)
               AND effective_date IS NULL
               AND special_handling_type_id = 1
               AND created_by != v_user;
         TYPE rec_hhlds_for_update IS RECORD (
              household_id  HOUSEHOLD_SPECIAL_HANDLING.household_id%type,
              spec_handl_type_id HOUSEHOLD_SPECIAL_HANDLING.SPECIAL_HANDLING_TYPE_ID%type
         TYPE spec_handling_update_array IS TABLE OF rec_hhlds_for_update;
         l_spec_handling_update_array  spec_handling_update_array;And then the Bulk Collect/ForAll looks like this:
           OPEN cur_hhlds_for_update;
           LOOP
            FETCH cur_hhlds_for_update BULK COLLECT INTO l_spec_handling_update_array LIMIT 1000;
            EXIT WHEN l_spec_handling_update_array.count = 0;
            FORALL i IN 1..l_spec_handling_update_array.COUNT
            UPDATE compas.household_special_handling
               SET effective_date =  TRUNC(SYSDATE)
                 , last_modified_by = v_user
                 , last_modified_date = SYSDATE
             WHERE household_id = l_spec_handling_update_array(i).household_id
               AND special_handling_type_id = l_spec_handling_update_array(i).spec_handl_type_id;
              l_special_handling_update_cnt := l_special_handling_update_cnt + SQL%ROWCOUNT;         
          END LOOP;And this is the error I'm receiving:
    ORA-06550: line 262, column 31:
    PLS-00436: implementation restriction: cannot reference fields of BULK In-BIND table of records
    ORA-06550: line 262, column 31:
    PLS-00382: expression is of wrong type
    ORA-06550: line 263, column 43:
    PL/SQL: ORA-22806: not an object or REF
    ORA-06550: line 258, column 9:
    PL/SQL: SQMy problem is that the table being updated has a composite primary key so I have two conditions in my where clause. This the the first time I'm even attempting the Bulk Collect/ForAll Update and it seems like it would be straight forward if I was only dealing with a single-column primary key. Can anyone please help advise me as to what I'm missing here or how I can accomplish this?
    Thanks!
    Christine

    You cannot reference a column inside a record when doin a for all. You need to refer as a whole collection . So you will need two collections.
    Try like this,
    DECLARE
       CURSOR cur_hhlds_for_update
       IS
          SELECT hsh.household_id, hsh.special_handling_type_id
            FROM compas.household_special_handling hsh, scr_id_lookup s
           WHERE hsh.household_id = s.ID
             AND s.scr = v_scr
             AND s.run_date = TRUNC (SYSDATE)
             AND effective_date IS NULL
             AND special_handling_type_id = 1
             AND created_by != v_user;
       TYPE arr_household_id IS TABLE OF HOUSEHOLD_SPECIAL_HANDLING.household_id%TYPE
                                   INDEX BY BINARY_INTEGER;
       TYPE arr_spec_handl_type_id IS TABLE OF HOUSEHOLD_SPECIAL_HANDLING.SPECIAL_HANDLING_TYPE_ID%TYPE
                                         INDEX BY BINARY_INTEGER;
       l_household_id_col         arr_household_id;
       l_spec_handl_type_id_col   arr_spec_handl_type_id;
    BEGIN
       OPEN cur_hhlds_for_update;
       LOOP
          FETCH cur_hhlds_for_update
            BULK COLLECT INTO l_household_id_col, l_spec_handl_type_id_col
          LIMIT 1000;
          EXIT WHEN cur_hhlds_for_update%NOTFOUND;
          FORALL i IN l_household_id_col.FIRST .. l_household_id_col.LAST
             UPDATE compas.household_special_handling
                SET effective_date = TRUNC (SYSDATE),
                    last_modified_by = v_user,
                    last_modified_date = SYSDATE
              WHERE household_id = l_household_id_col(i)
                AND special_handling_type_id = l_spec_handl_type_id_col(i);
       --l_special_handling_update_cnt := l_special_handling_update_cnt + SQL%ROWCOUNT; -- Not sure what this does.
       END LOOP;
    END;G.

  • Help with apex 4.0 installation steps

    i tried to install apex 4.0 running on my laptop with oracle 11g on windows7.
    unfortunately i am stuck at a point it doesnot accept admin password.
    the installation guide listed below is too unstructured and am not sure what all the components it require for apex running?
    if anyone has list of software required and the steps (including pre-requisites) in the PROPER ORDER, PLEASE POST. Appreciate your help
    It will be a quite bit of help. I have spent enough time on this but the document i found below for installation is not good. It is just my opinion.
    http://download.oracle.com/docs/cd/B32472_01/doc/install.300/b32468.pdf
    Edited by: rajugopalli on May 18, 2011 1:02 AM
    Edited by: rajugopalli on May 18, 2011 1:03 AM

    Hi,
    If you like install Apex version 4, it might help and advisable if you read same version documentation.
    http://download.oracle.com/docs/cd/E17556_01/doc/install.40/e15513/toc.htm
    Link you did post is release 3.0 document
    Regards,
    Jari

  • Help with a COLLECT statement.

    I had to make changes to some code and these changes required me to add some fields to an internal table.  Below is what the table looked like before I made any changes:
    DATA : BEGIN OF t_frgroup OCCURS 0,
        BEGIN CHANGE 02/11/03
            hazmat       TYPE c,
        END CHANGE 02/11/03
            mfrgr        LIKE lips-mfrgr,
            brgew        LIKE lips-brgew,
            lfimg        LIKE lips-lfimg,
            qtypal       LIKE w_nbr_palletsx,
            qtypce       LIKE w_nbr_palletsx,
            vstel        LIKE likp-vstel,
            no_cnvrt     TYPE c,
    END OF t_frgroup.
    This is what it looked like after I made the changes:
    DATA : BEGIN OF t_frgroup OCCURS 0,
        BEGIN CHANGE 02/11/03
            hazmat       TYPE c,
        END CHANGE 02/11/03
            mfrgr        LIKE lips-mfrgr,
            brgew        LIKE lips-brgew,
            lfimg        LIKE lips-lfimg,
            qtypal       LIKE w_nbr_palletsx,
            qtypce       LIKE w_nbr_palletsx,
            vstel        LIKE likp-vstel,
            no_cnvrt     TYPE c,
            matnr        TYPE lips-matnr,
            vbeln        TYPE lips-vbeln,
            posnr        TYPE lips-posnr,
            qty          LIKE vblkp-lfimg,
            vrkme        LIKE lips-vrkme,
            converted(1) TYPE c VALUE 'N',
    END OF t_frgroup.
    My issue is, after adding those fields, my collect statement no longer works:
          LOOP AT t_lips.
            MOVE-CORRESPONDING t_lips TO t_frgroup.
            COLLECT t_frgroup.
          ENDLOOP.
    I need it to collect with the key being mfrgr.  How can I do this?  After adding the fields the collect statement now acts as an insert (I assume that matnr is now acting as the key) instead of collect. 
    Regards,
    Aaron

    Hi Aaron,
    1. Define the table keys while defining your internal table.
    2. The order of the fields in the structure should be that the key fields come first , then the quantity fields and amount fields next.
    3. Sort the table by the key fields before the loop.
    The collect statment is creating news entries because If the system finds an entry with the key fields , the numeric fields that are not part of the table key are added to the sum total of the existing entries. If it does not find an entry, the system creates a new entry instead. Clearly the system is unable to find the existing entry because the key fields are not defined in your internal table or the fields are are out of order.
    Hope this helps.
    A simple example depicting this is as follows :
    TYPES: BEGIN OF COMPANY,
            NAME(20) TYPE C,
            SALES    TYPE I,
          END OF COMPANY.
    DATA: COMP    TYPE COMPANY,
          COMPTAB TYPE HASHED TABLE OF COMPANY
                                    WITH UNIQUE KEY NAME.
    COMP-NAME = 'Duck'.  COMP-SALES = 10. COLLECT COMP INTO COMPTAB.
    COMP-NAME = 'Tiger'. COMP-SALES = 20. COLLECT COMP INTO COMPTAB.
    COMP-NAME = 'Duck'.  COMP-SALES = 30. COLLECT COMP INTO COMPTAB.
    regards,
    Advait Gode.
    Edited by: Advait Gode on Mar 28, 2008 3:50 PM

  • Help with Apex.

    Hi, i work with Oracle XE and Apex 2.1.0, i need generate reports using Word Documents,
    i need create the reports, based in template of Word, my question is:
    How create a new Word Document based in template and store in the field BLOB type?
    Can i have using PL/SQL PROCESS?
    And finally, how open the Word Documents from Apex? One example please.
    Thank.
    Roberto.

    Hi, have a problem to open documents Word:
    My table is:
    file_subjects;
    NAME .............................VARCHAR2(4000)
    SUBJECT.........................VARCHAR2(4000)
    ID.....................................NUMBER
    BLOB_CONTENT..............BLOB()
    MIME_TYPE.....................VARCHAR2(4000)
    ...i created a report with column link , call to procedure DOWNLOAD_MY_FILE as URL:
    #OWNER#.download_my_file?p_file=#ID#
    My store procedure is:
    create or replace
    PROCEDURE download_my_file(p_file in number) AS
    v_mime VARCHAR2(48);
    v_length NUMBER;
    v_file_name VARCHAR2(2000);
    Lob_loc BLOB;
    BEGIN
    SELECT MIME_TYPE, BLOB_CONTENT, name,DBMS_LOB.GETLENGTH(blob_content)
    INTO v_mime,lob_loc,v_file_name,v_length
    FROM file_subjects
    WHERE id = p_file;
    owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
    -- set the size so the browser knows how much to download
    htp.p('Content-length: ' || v_length);
    -- the filename will be used by the browser if the users does a save as
    htp.p('Content-Disposition: attachment; filename="'||replace(replace(substr(v_file_name,instr(v_file_name,'/')+1),chr(10),null),chr(13),null)|| '"');
    -- close the headers
    owa_util.http_header_close;
    -- download the BLOB
    wpg_docload.download_file( Lob_loc );
    end download_my_file;
    ....i clicking on column link, generate the error:
    Forbidden
    The requested operation is not allowed
    Help me, please.
    Roberto.

  • Help with nik collection 64bit

    Hi
    i have installed photoshop cs6 64bit only and the last lightroom v4 64bit
    today i update my nik plugins
    _http://www.niksoftware.com/nikcollection/usa/intro.html
    well
    in lightroom i have only in export -> hdr efex pro 2
    in the past i had silver pro 2 and other plugin
    what's wrong?
    i run under w7 64bit
    thanks

    hmmm, sorry that didn't help.
    The only other suggestion I have is to remove the preferences for Nik and it's folders and do a clean install.
    The preferences are in "C:\Users\<userid>\AppData\Roaming\Adobe\Lightroom\External Editor Presets" - also look in local and locallow. Also look in your catalogue file for "External Editor Presets".
    I'd actually bought the nik collection and then got the free update to google.
    The settings with catalogue trick I got from the google help site.
    Hope this helps.
    hans

  • Help With apex.server.process

    Hello,
    I am trying to use the new apex.server.process function to and I seem to be having some issues with it. The call itself seems to be working fine as in firebug it returns what I expect. Its just that I am returning the json string into an object and that is what is causing the problem.
    Here is my on-demand process:
    DECLARE
      lv_json             VARCHAR2(4000 CHAR);
      lv_score            NUMBER(12);
    BEGIN
        --Will get the score from the database...
        lv_score := round(fm_apex.events_api.get_percent_complete(:P40_EVENT_ID,'TOTAL'));
        IF lv_score = 100 THEN
          lv_json := '{"success":true}';
        ELSE
          lv_json := '{"success":false}';
        END IF;
        htp.p(lv_json);
    END;
    And this is my javascript function:
    function checkScore(pThis)
        var getScore = apex.server.process(
            'IS_SCORE_COMPLETE_JSON',
                pageItems: "#P40_EVENT_ID"
        if ( eval(getScore.success) )  {
            alert('This is successful');
            //doSubmit(pThis.id);       
        } else {
            openModal('notScoredFully');
    What is happening is when the response is {"success":false} and in firebug it is still evaluating it to true? Can anybody see what I am doing wrong?
    Cheers,
    Paul.

    1/ apex.server.process is asynchronous. You are handling it as if it is not. You fire the call and it is gone, unlike htmldb_get which works synchronously (=makes the browser wait for the return). You need to use the success function.
    JavaScript APIs apex.server.process
    The return value of the server.process call is a jqXHR object, documentation on which you can find here: jQuery.ajax() | jQuery API Documentation
    I would just use success though, as demonstrated in the example of the documentation.
    apex.server.process ( "MY_PROCESS", {
      x01: "test",
      pageItems: "#P1_DEPTNO,#P1_EMPNO"
    success: function( pData ) { ... do something here ... }
    Thus something along these lines:
    apex.server.process(   'IS_SCORE_COMPLETE_JSON'
                         , { pageItems: "#P40_EVENT_ID" }
                         , { success: function( pData ) {
                                        if(pData.success){
                                          alert('This is successful');
                                        } else {
                                          alert('This is NOT successful');
    2/ apex.server.process by default handles the return value as a json datatype. You would not need to "eval" it.

  • Request for help with apex page popup on button press.

    Apex 3.2/Solaris 10
    I'm attempting to open an apex page (report) in a popup window when a button is pressed following the plethora of examples in the forum.
    I've applied the following in "Edit Page Buttons" to either of "Button Attributes" and "URL Target" trying to open my report (page 14) in a popup window.
    javascript.popupURL('f?p=&APP_ID.:14:&SESSION.');
    javascript.popup2('f?p=&APP_ID.:14:&SESSION.');
    window.open('f?p=&APP_ID.:14:&SESSION.');
    I've also implemented the conditional branch for this button to alleviate the "page not found - restart application" error.
    The window.open variant does not work. The 2 javascript. variants open the page, but in the same window (no popup).
    also I've read that in order to close my pop up report (should it be working), a window.close(); should be issued somehow associated with a close button on the popup page. Specifically, where would this code be placed?
    Thank you!
    Paul

    Paul:
    Specify the URL as
    javascript:popupURL('f?p=&APP_ID.:14:&SESSION.');
    instead of
    javascript.popupURL('f?p=&APP_ID.:14:&SESSION.');
    Varad

  • Need help with Apex 4.0 tabular form and searchable select list

    I would like to use an exisiting plugin for a searchable combo box on a tabular form. When I define the item types on my tabular form I don't see the plugin as an option. I reviewed the help documentation for the apex_item api for the tabular form but I didn't see how I could reference the plugin. Has anyone done this or have other ideas? Any help would be greatly appreciated.

    I noticed this problem in the first beta version but I thought this is so obvious and it will be corrected so I didn't follow on it further. This looks like a bug in 4.0. If I use firebug, I will see that the selected value is still RESEARCH allthough the display changes - <option selected="selected" value="20">RESEARCH</option> If I click on SAVE than wrong values will be changed.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • I need help with apex send mail

    I have created a apex send email, I tried to make it work I need help
    DECLARE
    v_Message VARCHAR2(4000);
    v_MsgHTML VARCHAR2(4000);
    v_CRLF VARCHAR2(6) := CHR(13) || CHR(10);
    begin
    v_Message := 'Your request has been sent to the Help Desk team:' ||
    v_CRLF || v_CRLF;
    v_Message := v_Message || 'YOUR_NAME: ' || :P10_YOUR_NAME || v_CRLF;
    v_Message := v_Message || 'COMPANY_Name: ' || :P10_COMAPNY_NAME || v_CRLF;
    v_Message := v_Message || 'ADDRESS: ' || :P10_ADDRESS || v_CRLF;
    v_Message := v_Message || 'CITY: ' || :P10_CITY || v_CRLF || v_CRLF;
    v_Message := v_Message || 'STATE: ' || :P10_STATE || v_CRLF;
    v_Message := v_Message || 'ZIP: ' || :P10_ZIP || v_CRLF;
    v_Message := v_Message || 'DAYTIME_PHONE: ' || :P10_DAYTIME_PHONE || v_CRLF;
    v_Message := v_Message || 'EVENTING_PHONE: ' || :P10_EVENTING_PHONE || v_CRLF || v_CRLF
    v_Message := v_Message || 'MOBILE_PHONE: ' || :P10_MOBILE_PHONE || v_CRLF;
    v_Message := v_Message || 'FAX: ' || :P10_FAX || v_CRLF;
    v_Message := v_Message || 'EMAIL_ADDRESS: ' || :P10_EMAIL_ADDRESS || v_CRLF;
    v_Message := v_Message || 'OCCASION: ' || :P10_OCCASION || v_CRLF || v_CRLF
    v_Message := v_Message || 'TYPE_OF_PARTY: ' || :P10_TYPE_OF_PARTY || v_CRLF;
    v_Message := v_Message || 'DATE_OF_EVENT: ' || :P10_DATE_OF_EVENT || v_CRLF;
    v_Message := v_Message || 'TIME_OF_EVENT: ' || :P10_TIME_OF_EVENT || v_CRLF;
    v_Message := v_Message || 'LOCATION_OF EVENT: ' || :P10_LOCATION_OF EVENT || v_CRLF || v_CRLF
    v_Message := v_Message || 'ESTIMATED_GUEST_COUNT: ' || :P10_ESTIMATED_GUEST_COUNT || v_CRLF;
    v_CRLF := '
    v_MsgHTML := 'Your request has been sent to the Help Desk team:' ||
    v_CRLF || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'YOUR_NAME: ' || :P10_YOUR_NAME || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'COMPANY_Name: ' || :P10_COMAPNY_NAME || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'ADDRESS: ' || :P10_ADDRESS || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'CITY: ' || :P10_CITY || v_CRLF || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'STATE: ' || :P10_STATE || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'ZIP: ' || :P10_ZIP || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'DAYTIME_PHONE: ' || :P10_DAYTIME_PHONE || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'EVENTING_PHONE: ' || :P10_EVENTING_PHONE || v_CRLF || v_CRLF
    v_MsgHTML := v_MsgHTML || 'MOBILE_PHONE: ' || :P10_MOBILE_PHONE || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'FAX: ' || :P10_FAX || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'EMAIL_ADDRESS: ' || :P10_EMAIL_ADDRESS || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'OCCASION: ' || :P10_OCCASION || v_CRLF || v_CRLF
    v_MsgHTML := v_MsgHTML || 'TYPE_OF_PARTY: ' || :P10_TYPE_OF_PARTY || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'DATE_OF_EVENT: ' || :P10_DATE_OF_EVENT || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'TIME_OF_EVENT: ' || :P10_TIME_OF_EVENT || v_CRLF;
    v_MsgHTML := v_MsgHTML || 'LOCATION_OF EVENT: ' || :P10_LOCATION_OF EVENT || v_CRLF || v_CRLF
    v_MsgHTML := v_MsgHTML || 'ESTIMATED_GUEST_COUNT: ' || :P10_ESTIMATED_GUEST_COUNT || v_CRLF;
    HTMLDB_MAIL.SEND(
    P_TO => '[email protected]',
    P_FROM => :P16_EMAIL,
    P_BODY => v_message,
    P_BODY_HTML => v_MsgHTML,
    P_SUBJ => :P16_CHURCH_NAME || ' Help Request');
    APEX_MAIL.PUSH_QUEUE;
    end;
    YOUR_NAME,
    COMPANY_NAME,
    ADDRESS,
    CITY,
    STATE,
    ZIP,
    DAYTIME_PHONE,
    EVENTTIME_PHONE,
    MOBILE_PHONE,
    FAX,
    EMAIL_ADDRESS,
    OCCASION,
    TYPE_OF_PARTY,
    DATE_OF_EVENT,
    TIME_OF_EVENT,
    LOCATION_OF EVENT,
    ESTIMATED_GUEST_COUNT

    DECLARE
    v_message VARCHAR2 (4000); v_msghtml VARCHAR2 (4000); v_crlf VARCHAR2 (6) := CHR (13) || CHR (10);BEGIN v_message := 'Your request has been sent to the Help Desk team:' || v_crlf
    || v_crlf; v_message := v_message
    || 'YOUR_NAME: ' || :p10_your_name
    || v_crlf; v_message := v_message
    || 'COMPANY_Name: ' || :p10_comapny_name
    || v_crlf; v_message := v_message
    || 'ADDRESS: ' || :p10_address
    || v_crlf; v_message := v_message
    || 'CITY: ' || :p10_city
    || v_crlf
    || v_crlf; v_message := v_message
    || 'STATE: ' || :p10_state
    || v_crlf; v_message := v_message
    || 'ZIP: ' || :p10_zip
    || v_crlf; v_message := v_message
    || 'DAYTIME_PHONE: ' || :p10_daytime_phone
    || v_crlf; v_message := v_message
    || 'EVENTING_PHONE: ' || :p10_eventing_phone
    || v_crlf
    || v_crlf; v_message := v_message
    || 'MOBILE_PHONE: ' || :p10_mobile_phone
    || v_crlf; v_message := v_message
    || 'FAX: ' || :p10_fax
    || v_crlf; v_message := v_message
    || 'EMAIL_ADDRESS: ' || :p10_email_address
    || v_crlf; v_message := v_message
    || 'OCCASION: ' || :p10_occasion
    || v_crlf
    || v_crlf; v_message := v_message
    || 'TYPE_OF_PARTY: ' || :p10_type_of_party
    || v_crlf; v_message := v_message
    || 'DATE_OF_EVENT: ' || :p10_date_of_event
    || v_crlf; v_message := v_message
    || 'TIME_OF_EVENT: ' || :p10_time_of_event
    || v_crlf; v_message := v_message
    || 'LOCATION_OF EVENT: ' || :p10_location_of_event
    || v_crlf
    || v_crlf; v_message := v_message
    || 'ESTIMATED_GUEST_COUNT: ' || :p10_estimated_guest_count
    || v_crlf;
    v_crlf := '
    '; v_msghtml := 'Your request has been sent to the Help Desk team:' || v_crlf
    || v_crlf; v_msghtml := v_msghtml
    || 'YOUR_NAME: ' || :p10_your_name
    || v_crlf; v_msghtml := v_msghtml
    || 'COMPANY_Name: ' || :p10_comapny_name
    || v_crlf; v_msghtml := v_msghtml
    || 'ADDRESS: ' || :p10_address
    || v_crlf; v_msghtml := v_msghtml
    || 'CITY: ' || :p10_city
    || v_crlf
    || v_crlf; v_msghtml := v_msghtml
    || 'STATE: ' || :p10_state
    || v_crlf; v_msghtml := v_msghtml
    || 'ZIP: ' || :p10_zip
    || v_crlf; v_msghtml := v_msghtml
    || 'DAYTIME_PHONE: ' || :p10_daytime_phone
    || v_crlf; v_msghtml := v_msghtml
    || 'EVENTING_PHONE: ' || :p10_eventing_phone
    || v_crlf
    || v_crlf; v_msghtml := v_msghtml
    || 'MOBILE_PHONE: ' || :p10_mobile_phone
    || v_crlf; v_msghtml := v_msghtml
    || 'FAX: ' || :p10_fax
    || v_crlf; v_msghtml := v_msghtml
    || 'EMAIL_ADDRESS: ' || :p10_email_address
    || v_crlf; v_msghtml := v_msghtml
    || 'OCCASION: ' || :p10_occasion
    || v_crlf
    || v_crlf; v_msghtml := v_msghtml
    || 'TYPE_OF_PARTY: ' || :p10_type_of_party
    || v_crlf; v_msghtml := v_msghtml
    || 'DATE_OF_EVENT: ' || :p10_date_of_event
    || v_crlf; v_msghtml := v_msghtml
    || 'TIME_OF_EVENT: ' || :p10_time_of_event
    || v_crlf; v_msghtml := v_msghtml
    || 'LOCATION_OF EVENT: ' || :p10_location_of_event
    || v_crlf
    || v_crlf; v_msghtml := v_msghtml
    || 'ESTIMATED_GUEST_COUNT: ' || :p10_estimated_guest_count
    || v_crlf;
    HTMLDB_MAIL.SEND(
    P_TO => '[email protected]',
    P_FROM => '[email protected]',
    P_BODY => v_message,
    P_BODY_HTML => v_message,
    P_SUBJ => 'Application Comments!!');
    APEX_MAIL.PUSH_QUEUE;
    end;

  • Need help with apex listener administration username & passwd

    Hello,
    I downloaded apex ODD and tried to lunch listener admin http://localhost:8888/apex/listenerAdmin
    Please help me the username and password.
    Thank you very much.

    Hailt wrote:
    Hello,
    I downloaded apex ODD and tried to lunch listener admin http://localhost:8888/apex/listenerAdmin
    Please help me the username and password.
    Thank you very much.1) To not attempt to eat a listener. It is not good for you.
    2) Are you sure you are in the right forum for this? (You may be .. but you may well not be) ... if ODD is open developer day the information on passwords is usually in the installation instructions.
    .. i cant recall having to worry about apex listeners, but i havant used the latest versions ...
    The main purpose of the post way to correct your possible eating disorder.

  • Help with Smart Collections

    I have constructed a Smart Collection I use to begin my workflow. I bring my just downloaded photos into the collection.  Tis is my frist selection. I will eather pick or reject the photo. No other rating or lable is used, only pick or reject. Problem I have 2 photos that are flag as a pick, but I can't get them to move to the next stage. Any ideas ? The collection operation is: "Picked Flag is Unflagged"
    Thanks
    Mike

    Sorry for not getting back to you sooner. Upon import, I place the photos
    in a collection. At that point the photos are not flagged. One I flag a
    photo to keep it moves to a smart collection,if flagged as a reject it goes
    to the delete folder called metedata. There it has the creator, name
    address and so on placed in the photo a red lable is place on the photo,
    next step is to rate the photos. I rate from 2 to 5 stars, once ratted a
    green lable is inserted. Next step is the key wording once keyword is
    completed a yellow label. Next are there any PP to be done. Is so PP
    is taken care of, a blue lable is placed. If none a purple lable. Once a
    purple has been placed on the photo the only operation to be completeed is
    the disposition of the work. For that I used the job ident. Onced
    identified where it is going it is placed into a folder for that job. This
    way I can stop at the end of the day and come back the next and Know right
    where left off.
    Like I said onced a photo is flaged, keep or reject it is not moving to the
    next step. Any suggestions?
    Mike

  • Need Help With Smart Collections (Lightroom 2.7)

    I am trying to set up a smart collection to list files that are blank in the Location field.  Some fields such as Caption allow you to check if the field "is empty".  Location does not allow the "is empty" option.  What can I do to check if Location is empty or blank?

    Does not contain a e i o u.
    Yes, it's stupid that you need such workarounds.

Maybe you are looking for

  • How many different computers can i sync my ipod to and transfur music from?

    how many different computers can i sync my ipod to and transfur music from? i am trying to sync my ipod to another laptop and add my music to that computer but i was wondering if there was a limit on how many computers you can do that with. thanks al

  • Audio not working on airplay to apple tv

    I am unable to airplay sound to my apple tv.  I am in the sound preferences and it will not allow me to select Apple TV airplay as my output.  What do I need to do?

  • Preferences are not saved

    I have 2 account on my macbook. One account seem to be cannot save any preferences, such as safari browsing history, my keynote custom toolbar, recent documents, etc. Everything seem to be reset after restart, the other account works just fine. Any i

  • MMS - how do I....

    Sorry I know this has been beaten to death, but now I'm confused. I know how to send an mms via my email to another person mms text and it works fine. I know when someone sends me an mms I have to go to viewmymessage.com, which we all know rarely wor

  • DATA Log file path change in sql

    Dear experts, due to non avaibility of space in disk i have move my SAPLog file in another drive, but now my SAP working fine but when i try to change path in SQL 2005 its not giving me permission to do. please let me know how to change log file path