Help is greatly needed with page processing in APEX

hello everyone please could someone help me with a survey application that im working on . Basically i have  a page that has 5 different regions on it an each region has a LOV which has the following display values ( agree, strongly agree, disagree and strongly disagree)  then return values for these are 20 , 50 , 10 and 5 respectively and this is the select from statement to create the LOV below and the table used
select EVAL_OPTION as display_value, FRM1_REG1 as return_value
from REL_DIM_SC_TBL
order by 1
The LOVs work fine . However when i tried to insert the inputs from the users into another table by means of a page process im getting a error that i cant seem to resolve my tables are :
REL_DIM_SC_TBL   -- where the display data for the LOV's come from
REL_DIM_SC_IMP   -- is the table that where the values that the user has selected is stored
The page items are set up as follows :
   Relationship Dimension Scoring
JOE  Logout
WELCOME
  so where you see welcome above is a text field above the regions where the LOV's are and used the select :app_user from dual ; to populate it because in order to insert the data select by the LOV's on the page there has to be an item with a primary key . Which is what i wanted was for the current user using the app to be inserted into the REL_DIM_SC_IMP table . But when i click the submit button i get an error
below is the select of the automatic DML action i set up under page processing    
Name
Page:
3 Relationship Dimension Scoring
*Name (Value Required)
Type:
Automatic Row Processing (DML)
Process Point
*Sequence (Value Required)
Process Point
Run Process
Source: Automatic Row Processing (DML)
*Table Owner (Value Required)
*Table Name (Value Required)
*Item Containing Primary Key Column Value (Value Required)
*Primary Key Column (Value Required)
Item Containing Secondary Key Column Value
Please guys i have been stuck with this for a long time any help at all will be greatly appreciated

Hello Krunal thanks so much for your reply i did manage to sort out that error how ever there is an other one that im stuck with . Basical i have a table with 6 columns begin score1, score2, score3, score4, form_total, User_id
What i want to do is create a trigger that adds the four  numeric columns into the form_total
the trigger syntax i used was
create or replace trigger "Score_Total_t1"
AFTER
insert on "Score_Total"
for each row
begin
:NEW.USER_ID := ('APP_USER');
:NEW.form_total := ('Score1' + 'Score2 '+ 'Score3' + 'Score4 ');
end;
However the :New.USER_ID works fine to input  the currrent user but im getting an error with :NEW.form_total
Any ideas would be greatly appreciated
thank you 

Similar Messages

  • Help needed with Pages

    I am about to commit and purchase the ipad in the uk (28th May). I do not need a laptop and hope you can help me with this question. I will be using both pages and numbers applications and my question regards saving files. Can somebody please explain how you save on the ipad is it into folders like my imac etc. can you then browse the folders for your documents etc and can you name them or does the ipad name ?. Can anybody help me with this and explain it or point me to any site ?. many thanks
    Mitch

    In case you haven't seen them, here are the faqs for pages and numbers. Note that pages can export to .doc but numbers cannot export to .xls
    http://support.apple.com/kb/HT4065
    http://support.apple.com/kb/HT4067

  • Issue with page processing - confirmation message & show /hide a button..

    Hello,
    I am working on a to do list application.
    I have events and for each event, I show list of tasks (grouped in reports based on the calculated task's status).
    In one region I have a drop down list of events and a Select Event button.
    For each task, I had to create a CLOSE option (initially I used a link, but the requester wanted a confirmation before closing the task).
    Now I have a checkbox for each task (generated dynamically with apex_item.checkbox(1,task_id)).
    Closing a task in my application means to set the end_date to sysdate.
    I followed the instructions from
    http://download-west.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28839/check_box.htm#CEGEFFBD. I've created also a button and a process and updated the sql from "delete" to "update".
    The process is set: OnSubmit - After Computations and Validations; Run Process Once per page visit (default).
    The issue number 1 is that I see the confirmation message (that tasks have been closed) every time I reload the page (the same when I click Select_event button).. not only after I press on that Close_task button..
    For issue number 2, I have to mention that I've added a condition to show / hide the Close_task button, only if I have at least 1 task in the report.
    The issue number 2 is that I see the button only if I click 2 times on the Select_Event button.. The same is for hide.
    I feel like I am missing something very important about how to synchronize different events(buttons clicks), processes..
    help..?
    Thank you!
    Anca

    This forum is magic..
    As soon as write here, I find the answer!
    Issue 1: I fixed it by specifying this: When Button Pressed (Process After Submit When this Button is Pressed) and my button. I miseed this 1st time.
    Issue 2: I moved the button after the report.. and now it's working just fine!
    I did this about it for some time before asking the question here.. but I just had to write here and got the right answer ;)
    Have a nice day!
    Anca

  • Please help! I need more pags in my photobook and it wont let me get anymore then 78?

    Hello,
    I'm trying to finish off my brothers wedding photo book and adobe wont let me do anymore then 78 pages and I need about 20 more. If you can help with this I would appreciate it a lot.

    OMG! i fee so stupid! for peopple experiencing the same problem, make sure the time and date is right! THAT WAS MY ONLY ISSUE!!!

  • I am still having great difficulty with pages docs in iCloud.

    I thought Pages docs created on either device - ie iPad and MacBook - were supposed to update automatically but they don't. I can see the little cloud thing in action while typing on my document on the MacBook but the document stays exactly the same on my iPad and I just don't know what I'm doing wrong. Can anyone help please?

    Documents that have been created or edited on your mobile devices and saved in iCloud, can be accessed from your Mac at the website iCloud.com. You will need to download the documents from iCloud in order to edit them on your Mac.
    Similarly, any documents created or edited on your Mac, will will need uploading to the iCloud.com website in order for you to share them with your mobile devices.

  • Help !! needed with windowClosing() event

    Hi there I have a problem were I would like to shut down my application when it is iconified,
    THE SHORT STORY
    I would like my application to be deiconified when I close it by right click in its icon and select the close option.
    BACKGROUND
    the current situation is when it is iconified I can right click and then I get the menu where I can choose to restore or close, when I click close, a windowclosing event is fired but nothing happens the application is not shut shown, when I then right click again and restore the app I notice that my own built in logout menu is up so it seems to be recieving the event all I want is the appp to be deiconified when I clik close.
    As I am a distributed programmer this gui stuff is rocket science i would appreciate any help

    Something like the following, though I am not sure too.
         win.addWindowListener(new WindowAdapter() {
              public void windowClosing(WindowEvent e) {
                   // Invoked when a window is in the process of being closed. The close operation can be overridden at this point.
                   Window win = e.getWindow();
                   boolean iconified = win.getState() == ICONIFIED;
                   if (iconified) {
                        e.consume();
                        win.setState(NORMAL);
                   } else {
                        super.windowClosing(e);

  • Help with Page Breaks!

    Hello,
    I am having great difficulty with page breaks.
    I have included a link below to a jpg of a format template I am working on (edited for public release, but it works):
    http://home.swbell.net/grog1/work/pagebreaksample.jpg
    The layout template has many text form fields but I have re-colored them all to grey so that the pagebreak stands out in pink (and default text is the same as the help text for clarity).
    The data format that I am using for this layout template can be found at:
    http://home.swbell.net/grog1/work/testdata.xml
    This data is for sample use only and would (normally) contain many G_ORDERS for multiple G_ORD_TYPES in multiple G_REGIONS.
    My problem is that it does not matter where I place the page break, it simply does not work correctly.
    As you can see from the current placement I WISH the report to break between each and every occurrences of REGION in the group “REGION”. At this placement it does not break at all.
    I ‘can’ get the report to break (incorrectly, but at least it breaks) if I place this exact same syntax into the innermost grouping of data (i.e. the G_ORDER group) but even then the breaking is NOT CONSISTENT at all. In this case I would ‘expect’ it to break before every order…it does not.
    I have also tried the syntax: “ <xsl:if xdofo:ctx="inblock" test="1=1"><xsl:attribute name="break-before">page</xsl:attribute></xsl:if> “ (without the quotes which got from he forum here) as well as the MSWORD pagebreak (which has never worked for me). None of these work correctly.
    Any assistance in or insight into getting my reports to CONSISTENTLY break at the appropriate times would be most appreciated as I have been trying to get this to work for several days now...
    Thank you,
    Scott

    Hello again!
    I have the pagebreak problem working, but I would dearly like some insight as to why/how it is working…
    I have template builder 10.1.3.2.1 for reference and I now have the report breaking at the correct times, i.e. after each region.
    My confusion is that to get it to work I must use the syntax and placement of the pagebreak text field exactly as shown below. No other placement cause the pages to break correctly and the other syntax sample varations I have found on this forum, etc (listed above) do not work at all.
    Please review the link to the (now working format template) jpg and provide feedback/insight.
    http://home.swbell.net/grog1/work/pagebreaksample_working.jpg
    Thanks in advance for feedback,
    Scott

  • Page Processes and Branches.. what am I doing wrong?

    Need a bit of help with page processes (or suggestions for a better way to do something).
    I have an Apex page which does the following when you click a button -
    1. Imports a CSV file into an Oracle table by calling a SQL Loader process
    2. Calculates the expected date range for the CSV file
    3. Checks the min & max dates of the CSV data (now in the table) to ensure they match those calculated in (2)
    4. If the dates in the CSV data are correct, a PL/SQL procedure is called which analyses the CSV data (now in the table) and inserts some entries into another table.
    I'm a bit stuck at this point because I need some kind of branch before step 4 -
    If the CSV dates are correct, then the analysis process (4) should be run.
    If the CSV dates are wrong, the analysis process (4) should NOT run, and an error should be displayed informing the user to check the CSV file. This would be done in a step (5).
    I've created steps 1, 2, and 3 and put them in 'On Submit and Before Computation'.
    Step 3 sets a hidden field to true or false depending on the outcome of the check.
    Steps 4 and 5 are conditional (4 runs if the hidden field is true, 5 runs if the hidden field is false) They are created in 'After Submit'. Problem I've got is... steps 4 or 5 never run.
    I'm not sure what's going on... is the hidden field never getting set? Do I have the processes at the wrong process point in the page?
    Or can anyone suggest a cleaner and simpler way of accomplishing this?

    I already thought of changing the hidden field to a text field - and it is getting data OK. But I'm not sure at what point the field is being set.
    I assumed that the field would be set at process (3), so that processes (4) and (5) are able to check the value in the field.
    But the truth is I'm not exactly sure how Apex works - are items set when a process runs and are they able to be accessed by subsequent processes?

  • Progress Bar On Page Process

    Hello
    I have a page process in APEX that takes a while to finish. When I click a button, I want a progress loading widget to appear.
    There is a lot of processing that takes place on this page; however, I only want the progress bar to show when a particular button is pressed for one particular process. I am having trouble getting the progress bar and the process to fire at the same time.
    Process name: P3_REFRESH_AS_TABLE
    /* calls a pl/sql procedure*/
    BEGIN
    PC_ST_PR_POPULATE_ATH_SCHED;
    END;Button Name: P3_REFRESH_TABLE
    I have the Ext JS Library 2.2.1 uploaded to the server.
    This is the progress bar code I am trying to use:
    //==== Progress bar 4 ====
    var pbar4 = new Ext.ProgressBar({
    text:'Waiting on you...',
    id:'pbar4',
    textEl:'p4text',
    cls:'custom',
    renderTo:'p4'
    var btn4 = Ext.get('btn4');
    btn4.on('click', function(){
    Runner.run(pbar4, btn4, 19, function(){
    pbar4.updateText('All finished!');
    });This is the CSS code:
    .status {
    color:#555;
    .x-progress-wrap.left-align .x-progress-text {
    text-align:left;
    .x-progress-wrap.custom {
    height:17px;
    border:1px solid #686868;
    overflow:hidden;
    padding:0 2px;
    .ext-ie .x-progress-wrap.custom {
    height:19px;
    .custom .x-progress-inner {
    height:17px;
    background: #fff;
    .custom .x-progress-bar {
    height:15px;
    background:transparent url(images/custom-bar.gif) repeat-x 0 0;
    border-top:1px solid #BEBEBE;
    border-bottom:1px solid #EFEFEF;
    border-right:0;
    }Any help on this is appreciated
    Regards,
    Kelly

    Thank you Luis and Chris for your response.
    I have been able to successfully use Carl's logic only when the page process is not set to go off when the button associated with the processing bar is clicked. However, there are a few buttons on the page so each time the page gets submitted the page process fires off if it is not associated to a button. Is there a condition I can use that will prevent the process from firing until the button associated to the processing bar is clicked?
    Regards,
    Kelly

  • Catching errors on procedures inside page process.

    Good Afternoon, my apex teachers.
    I have a doubt on my page process, hope you guys can help.
    I have a page process that executes a pl/sql block on page submit.
    On this pl/sql block there is a call to a stored procedure.
    What I want to do is, when this procedure, that is called inside the pl/sql
    block, does not execute properly, my page process uses his error message
    instead of his success message. Is that possible?
    Thanks for all the help.
    Regards, Leandro Freitas.

    Well..i thing i can help.
    1.Create a hidden field with name PHiddenMsg.
    2. On your block
    DECLARE
    err_code  varchar2(100);
    err_msg varchar2(200);
    BEGIN
    -- Your procedure call
    PROC_ABC(.....);
    Exception when others then
    err_code := SQLCODE;
          err_msg := substr(SQLERRM, 1, 200);
    :PHiddenMsg := err_code || err_msg; --> you decide what to show
    end;3. Put the field PHiddenMsg(&PHiddenMsg.) in the error message.
    Yes?
    Edited by: Vitor M.A. Rodrigues on 6/Fev/2012 18:12

  • Text format with Pages

    I have a lot of documents I want to change different text features. For instance verdana, 10pt, color black, remove smart links. How can I do that with Pages?
    Can Automator help me do that with Pages? is there any other way?

    If you do not know AppleScript, you will have an issue using Automator for what you want to do in Pages, as the default Automator actions are not designed to work on Pages document content. Automator provides an action (Run AppleScript), where you specifically code to work with Pages documents directly using reserved constructs from Pages AppleScript dictionary. This dictionary support is still relatively poor in Pages v5, and for instance, does not know about any kind of link.
    The following AppleScript is an example where it will detect the presence of Verdana 12 pt black, and change it to Cambria 14pt blue.
    -- change all body text according to the following criteria
    -- changing table text is another exercise
    -- Caveat: You better be using true black text, otherwise {0,0,0} will not match
    tell application "Pages"
        tell body text of front document
            if its font is "Verdana" and its size is 12 and its color is {0, 0, 0} then
                set font of it to "Cambria"
                set color of it to "blue"
                set size of it to 14
           end if
         end tell
    end tell

  • I have a godaddy website with a welcome page- I need help adding a few additional pages with a hyperlink to my welcome page.

    I need help attaching a few hyperlinks my godaddy welcome page. I have 2 more ipages articles, I also converted them to pdf. Godaddy only helped (last year) with the 1st article.  I do not know how to attach a hyperlink to the artlcles and add the hyperlinks to my welcome page.

    The program is called Pages not iPages. Just let us know if you do not speak English and what language you do speak so we can adjust for that.
    The issues are to do with your web page not with Pages.
    I think you are asking how to link from your web page to your pdf articles. You must first copy those pdfs to your web server, or some other web location, and then provide html links on your welcome page to those pdf files.
    The pdfs themselves may contain links to other locations but I can not see that that is what you are asking for.
    Nor to what those links would be to.
    From your heading I think you may have confused the name of Pages, the word processing program, with web pages which are two different things.
    Peter

  • Need help with batch processing picture packages

    Hi, I am having trouble batch processing picture packages is CS2.  (Windows).
    I have hundreds of images that need to be processed into picture packages and would love to find a speedier way to do this.
    I know how to create an action.  I know how to batch process from this action.  I also know how to create picture packages, but I cannot get the final result I am after - please read on....
    I have seperated all the images into their seperate folders for each style of picture package required.
    I can create an action for the picture package required and then do a batch process on the particular folder, but this leaves all the picture packages open on the desktop - as when you chose the close and save in the batch process - this only closes and saves the original image - the picture package has been created as a new document and is on the desktop still open - named Picture Package 1, Picture Package 2 - etc etc.
    I hope I am making some kind of sense here... (??!!)
    What I would like to happen is that the picture package will be saved over the original file (or to a new folder) with the original file name of the original image or maybe even with an adjustment to file name (e.g - orignal file name sc1234.jpeg - new file name sc1234packA.jpeg)
    So is this possible to do??  I'm thinking there must be a way.... i'm sure there are many group photographers out there who come across this everyday??
    Otherwise I have to save each picture package manually to original file name (via searching though files to match the original image to the picture package....) Very time consuming.
    Thanks for your help (in anticipation)...
    Jodie

    hmm - thanks for that - sounds like I will have to try and find some info and assistance regarding the scripting - it may be something I need to look into at a later time in the future....
    At the moment though I will have to plod along with this method I guess!
    Thanks for your assistance...
    Jodie

  • TS3694 i need help!!! my iphone 3gs keeps turning off once every 2-3 months or so, but now i cant fix it!! i have it stuck in recovery mode but everytime im about to finish with the process error -1 comes up!!! please heellpp!!!

    i need help!!! my iphone 3gs keeps turning off once every 2-3 months or so, but now i cant fix it!! i have it stuck in recovery mode but everytime im about to finish with the process error -1 comes up!!! please heellpp!!!

    If the iPhone was hacked or jailbroken, can't be discussed.
    If no, see post above ^^.

  • HT6114 I cannot get osx downloaded.  my child needs to work with pages.  Help

    I cannor get OSX downloaded on my computer.  My child needs to work with pages and we cannot update.

    Check to see if your Mac supports Mavericks (assuming that's what you're trying to install since you're in the Mavericks forum).
    To install Mavericks, you need one of these Macs:
    iMac (Mid-2007 or later)
    MacBook (13-inch Aluminum, Late 2008), (13-inch, Early 2009 or later)
    MacBook Pro (13-inch, Mid-2009 or later),
    MacBook Pro (15-inch or 17-inch, Mid/Late 2007 or later)
    MacBook Air (Late 2008 or later)
    Mac mini (Early 2009 or later)
    Mac Pro (Early 2008 or later)
    Xserve (Early 2009)
    Your Mac also needs:
    OS X Mountain Lion, Lion, or Snow Leopard v10.6.8 already installed
    2 GB or more of memory
    8 GB or more of available space

Maybe you are looking for