Help with the application process

I create a process like that, and it doesn't work. Can someone help me check what is the problem?

declare
number of l_counter;
Start
owa_util.mime_header ("text/xml", FALSE ");
HTP.p ('Cache-Control: non-cache');
HTP.p ('Pragma: non-cache');
owa_util.http_header_close;
HTP. PRN (' < select > < option value = "" >--select 2 results - </option > ');
for rec in select (separate OUT2
output
where OUT1 =: V_OUT1 and OUT2 is not null
order by the OID);
l_counter: = 0;
loop
If REC OUT2 = "other - specify" then
l_counter: = 1;
on the other
HTP. PRN ("< option value ="' | rec. OUT2 |) '">' || recomm. OUT2. ("< / option >");
end if;
end loop;
If l_counter = 1 then
HTP. PRN ('< option value = "other - specify" >' |) "Other - specify ' | ' < / option >");
end if;
HTP. PRN ("</select > '");
end;

Thank you
Jen

Published by: Jen Hu on July 12, 2012 11:29

You had a semicolon after the beginning of the LOOP. You don't need this l_counter: = 0. Here is the code again.

DECLARE
   l_counter   NUMBER := 0;
BEGIN
   OWA_UTIL.mime_header ('text/xml', FALSE);
   HTP.p ('Cache-Control: no-cache');
   HTP.p ('Pragma: no-cache');
   OWA_UTIL.http_header_close;
   HTP.prn ('');
END;

Denes Kubicek
-------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Apress.com/9781430235125
http://Apex.Oracle.com/pls/OTN/f?p=31517:1
http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
-------------------------------------------------------------------

Tags: Database

Similar Questions

  • im a student at the Academy of art and my creative cloud only let's tracks me because I never offer or give a serial number need help with the application

    I need help for the account and the sotfware please help

    I'll get an update this topic & you update tomorrow.

    Concerning

    Baudier

  • help with the login process completed Windows error

    One of my friends has a laptop that suddenly began to the old "Stop."
    c000021a {fatal system error}. The Windows Logon Process System completed
    quit unexpectedly with status f 0xc0000135 (0x00000000 0x00000000). The
    system has halted.

    Using BartPE I managed to run Dr. Watson according to them here:
    http://support.Microsoft.com/kb/156669

    The problem is that even after having no start nothing happened that
    error, so I can't look at the Dr. Watson log!
    It's the same thing in Mode safe mode and last known good configuration.

    I am now currently looking (using a Linux Live CD) for "winlogon" see if
    who is corrupt, and he found FOUR different - a
    in system32, one in servicepackfiles\i386, in $Ntservicepackuninstall$
    and the other to Softwaredistribution\download\cf (a lot of numbers)

    The situation is complicated by the fact that the Windows XP Home CD of
    That has been installed has disappeared in a move, and I have XP
    CD Pro.

    Is there anyway I can repair a XP Home using a CD XP Pro installation?
    Is it possible to repair this without a Cd XP Home at all?
    If you find my answer helpful, please click the button "Vote as helpful"! Thank you! My Blog

    AVG 8 intercepts not non-viral malware, which can be just as destructive as the virus. As probably a disk upgrade XP Home retail has been used to install XP on the laptop of Win2k, you will need to use a XP Home retail disk, not a professional one.

    By doing a simple Google search for "doing a repair install using i386", I found this link that may be useful:

    http://www.howtohaven.com/system/createwindowssetupdisk.shtml

    I didn't do this, have a good store of various types of XP installation disks so YMMV. MS - MVP - Elephant Boy computers - don't panic!

  • Please help with the batch processing of Javascript.

    I'm looking for batch processing a large number of PDF files.  I need to reduce the font size a bit concerned of form fields on all of these PDF files.  The name of the form fields are Texte8, Texte15, Texte16 and Texte17. I could also affect the size of the font to a smaller size.  What is the script I would use on the way to this topic?

    You can use something like this in a JavaScript Execute action:

    var fieldsToChange is ['Texte15', 'Texte16', 'Texte8', 'Texte17'];.

    for (var i in fieldsToChange) {}

    var f = this.getField (fieldsToChange [i]);

    If (! f) continue;

    f.textSize = 10;

    }

    Of course, you can change the size of font you want to any other value (use 0 if you want to set as "Auto").

  • In my laptop that is Explorer.exe does not load at startup on my account, his work with the guest account. Also it does not manually with the new process. Kindly help out me

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas: in my laptop is Explorer.exe does not load at startup on my account, his work with the guest account. Also it does not manually with the new process. Kindly help me.

    I have seen at redistry Edit it's explorer.exe in winlogin sell attribute.

    Hi HiteshAstan,

    one) don't you recall making any changes to the computer before this happened?

    (b) what exactly happens when you sign in to your account?  You get a specific error message?

    Step 1: Let us check if the problem persists in safe mode

    Access the menu advanced startup options by turning on your computer and pressing the F8 key before Windows starts. In the advanced startup options select safe mode

    http://Windows.Microsoft.com/en-us/Windows-Vista/advanced-startup-options-including-safe-mode

     

    If the problem persists, you can deduct that the user account is corrupted

    Step 2: Create a new administrator account and then try to repair your user account

     

    Create-a-user account

    http://Windows.Microsoft.com/en-us/Windows-Vista/create-a-user-account

    Difficulty of a corrupted user profile

    http://Windows.Microsoft.com/en-us/Windows-Vista/fix-a-corrupted-user-profile

    After the back if you have any questions

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Help with the Powershell script to collect logs from all domain controllers

    I am writing a script to retrieve the last 5 days of application, security and log files from all domain controllers. The script runs, but fire the logs from the local server only. The variable $Computer has all of my DC so it's the fine mark. I guess it's a problem with my line ForEach-Object, but is not error. See the below script.

    $log = 'application '.
    $date = get-date-format MM-DD-YYYY
    $now = get-date
    $subtractDays = new-object System.TimeSpan 5,0,0,0,0
    $then = $Now.Subtract ($subtractDays)
    $Computers = get-ADDomainController-filter *.
    ForEach-Object - InputObject $Computers - process {Get-EventLog - LogName $log - after $then - before $now - EntryType error | select EventID, MachineName, Message, Source, TimeGenerated |} ConvertTo-html | {Out-file $env:TEMP\Applicationlog.htm}
    Invoke-Expression $env:TEMP\Applicationlog.htm

    Thank you

    Rich

    Hello

    To help with the repost the question script to the script Center Forum

    http://social.technet.Microsoft.com/forums/scriptcenter/en-us/home

  • Error: Failed to create the application process: operation not permitted - deployment of ripple to Dev Alpha

    Hey people,

    I was puzzled on this the last bit of time and can't seem to find a solution. (The closest thing I could find is here: http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Webapp-not-starting-on-device-VM... but there does appear to be a response [UPDATE: Adam Stanley mentioned that it was due to a missing Debug token, and this isn't the case for me.])

    When I try to "Package & launch" of the ripple, the project is created correctly and even installs the application on the device (is the application icon on the home screen). However, when he tries to run the application, the console of the ripple spit:

    "Error: cannot create the application process: operation not permitted".

    Any later attempt to open the application from the icon on the screen will result in an immediate fall.

    As an attempt to circumvent, I use "Package & sign" and then run the blackberry-deploy with installApp - launchApp - tool options and... it generates the same error as described above.

    I'm working on OS X, and I successfully installed the Webworks SDK as well as the undulation on Chrome Plugin. I have a project together upward with a running python web server and can view the content properly on the ripple. I have my signature correctly registered keys and I generated the file debugtoken.bar. I downloaded the debugtoken on the alpha dev successfully device and placed a copy of the debugtoken.bar file in the root folder of the SDK Webworks. The unit is in developer mode.

    Someone at-troubleshooting suggestions?

    [Edited for format (original post deleted line breaks) and also to highlight a number of things]

    So after getting back to the question, I loaded build with the SDK 1675 Webworks (1.0.4.5) published today, and I was able to go beyond the permission error that plagued me previously.

    Thanks again for the help Adam.

  • during the installation of cloud creative adobe, getting the msg to following error "there seems to be a problem with the download process. "Error code: 201.

    during the installation of cloud creative adobe, getting the msg to following error "there seems to be a problem with the download process. "Error code: 201.

    Help creating cloud / cloud creative applications download error

    http://helpx.Adobe.com/creative-cloud/KB/error-downloading-CC-apps.html

  • How to set the value of the point of application using pl/sql in the application process

    Hi guys,.

    I want a global variable (application point) whose value will be set to start when a user logs on to the application. The value will be retrieved from the database by using a sql query. I don't exactly know the syntax to set the value of the point of application in the application process. Also, I want to know what type of enforcement process should I use to set the value of the point of application, when a user starts a session. The value of the point of application varies from one user to the user.

    Help, please.

    I use apex 4.2

    Kind regards

    Waqas

    You can use the application element as a link with his name. That is to say. your point of application is named G_MY_APPLICATION_ITEM, then you can / set of access using: G_MY_APPLICATION_ITEM.

    For example

    BEGIN

    -assign as a variable

    : G_MY_APPLICATION_ITEM: = 'LARRY ';

    --

    -use in a SQL statement

    SELECT WHATEVER_COLUMN

    IN: G_MY_APPLICATION_ITEM

    FROM MY_TABLE

    WHERE USERNAME =: APP_USER

    ;

    END;

    Peter

  • help with the beats on my envy 17-3270nr, n key

    help with the beats on my envy 17-3270nr key. recent Smart hard disk crash, replaced with exact same hitachi drive, same care extended warranty repairs covered of the Frys. Windows 7 Edition home premium w / service PAC 1 installed, drivers installed, except that now there is no volume of beats on screen graphic dial button, click the button on top button on the page does not call the beat of the application settings. Futhermore; the motion sensors of laser to activate the keyboard backlit keyboard do not work.  Are there drivers hp software to enable the missing features?

    Hello

    Download and install the following.

    HP OSD utility.

    Proximity sensor driver.

    Once completed, restart the laptop.

    Kind regards

    DP - K

  • After editing an image in windows Photo Gallery can't save the picture. I get a message that tells me that something is wrong with the application. How to fix this problem?

    After editing an image in windows Photo Gallery can't save the picture. I get a message that tells me that something is wrong with the application. How to fix this problem?

    Hello

    I suggest you to refer to this link and check if it helps:

    http://Windows.Microsoft.com/en-us/Windows-Vista/Windows-Photo-Gallery-frequently-asked-questions

    It will be useful.

  • Cannot, sign, only get a white screen, is there something wrong with the application?

    Cannot, sign, only get a white screen, is there something wrong with the application?

    [Duplicate message deleted... post the same question more than once is confusing... MOD]

    [This is an open forum, not a direct line to Adobe support... you have to wait a response]

    WHITE cloud screen http://forums.adobe.com/message/5484303 can help

    - and step by step http://forums.adobe.com/thread/1440508?tstart=0

    - and http://helpx.adobe.com/creative-cloud/kb/blank-white-screen-ccp.html

  • Hello. I have a problem with the payment process when trying to buy the plan of creative photography of Cloud (one year). the error is: there was a problem processing your order, please contact our Service team customer care for assistance. AfricaBa North

    Hello. I have a problem with the payment process when trying to buy the plan of creative photography of Cloud (one year).

    the error is: there was a problem processing your order, please contact our Service team customer care for assistance. Middle East & North AfricaBahrain: 80081097Egypt: 08000000447Jordan/Kuwait/Lebanon/Qatar/Yemen: English + 44 207 365 0735Jordan/Kuwait/Lebanon/Qatar/Yemen: Arabic/French + 44 203 564 4145Oman: 80077173Saudi Arabia: 8008446638Tunisia, the Morocco and the Algeria: + 33 United Arab Emirates 157324642United: 80004443085Commonthwealth of independent States (CIS): + 44 207 365 0735

    Help me please to solve this problem. I need my lightroom immediately)

    Hi mohamed,.

    Please see the link below to buy the plan of photography:

    Pricing plans and creative Cloud membership | Adobe Creative Cloud

    In case you still have question, please contact sales at Adobe team.

    Adobe Middle East and North Africa

    Kind regards

    Sheena

  • 4.2 DOC BUG: all about the application process

    "There is an error in Oracle Application Express Application Builder User Guide version 4.2 §8.8.1 " "on the implementation of the application process":

    A process On Demand is a special type of procedure of demand that has a Point of On Demand process and executes when it is called from a process On demand page level or a browser AJAX call. On-demand processes are useful when you have logic of PL/SQL that you want to run different execution points on several pages.

    At the request of the process generally must be created on a page and not at the level of the application. On request, process created at the application level are created with an initial authorization scheme of must not be Public user. This prohibits the process invoked with users in authenticated sessions.

    As it is perfectly possible (and desirable) at the request of the application process to be invoked, [that] by authenticated users, this should probably read:

    A process On Demand is a special type of procedure of demand that has a Point of On Demand process and executes when it is called from a process On demand page level or a browser AJAX call. On-demand processes are useful when you have logic of PL/SQL that you want to run different execution points on several pages.

    At the request of the process generally must be created on a page and not at the level of the application. On request, process created at the application level are created with an initial authorization scheme of must not be Public user. This forbidden process be invoked from users not authenticated sessions.

    In addition, the second paragraph is a new addition to the documentation for APEX 4.2. What is the reasoning for not creating processes on request at the application level? I've used them for a few years as a way to provide reusable, application- wide (for example, the file downloads and the AJAX content) only items authenticated Apex sessions.

    Hello

    Thanks again. I added a note to the 5.0 docs.

    It is certainly very good create processes at the level of applications On Demand. However, if a process is tied to a single page, only, it is immediately obvious that the process belongs to the interface of this page. It's good from a maintenance point of view, because if you only use application-level processes, it may be more difficult to determine if the process is still in use and where it is called from.

    Kind regards

    Christian

  • To access the settings of ajax in the application process

    Hello

    I have an ajax call, submitting a parameter called cBoxKey.

       var get = new
       htmldb_Get(null,$v('pFlowId').value,'APPLICATION_PROCESS=TrackRows',0);
       get.add('cBoxKey','NOTREQUIRED');
      get.get();
    
    

    In the application process I can access the parameter 'cBoxKey' like below;

    declare
        l_checkBoxKey  varchar2(4000);  
    begin
        --
        -- Get the value of the global which will be set in JavaScript
        --
        l_checkBoxKey := wwv_flow.g_cBoxKey;
    
    

    However, this does not seem to work because when I replace

    l_checkBoxKey := wwv_flow.g_cBoxKey;
    
    

    with

    l_checkBoxKey := 'NOTREQUIRED';
    
    

    The application process is called and produces results (through the ajax call).

    In my view, that the question is how access the "cBoxKey" parameter in the application process.

    Any ideas on what could be wrong.

    Thank you.

    Hello

    I check any specification of package APEX version wwv_flow, there is no variable of g_cBoxKey.

    If you have idea there?

    Change your JavaScript for

    var get = new
    htmldb_Get(null,$v('pFlowId').value,'APPLICATION_PROCESS=TrackRows',0);
    get.addParam('x01','NOTREQUIRED');
    get.get();
    

    And then access process on demand as

    l_checkBoxKey := APEX_APPLICATION.g_x01;
    

    Kind regards
    Jari

Maybe you are looking for

  • make purchases

    iiPhone 6s... jusy upgraded to the 6s and I'm unable to make purchases now.  any suggestions?

  • I just dropped my phone?

    I just dropped my iPhone 6 + didn't break the screen, but the touch screen does not work and theres a ink large spill what should I do? How much will cost of difficulty?

  • complaint! who do you call?

  • I can't call my name of file to C:\turbo\ for old PC game

    Im trying to use a dosbox 0.74 of an old game. I need to use these symbols (:------"?") & so on. How can move or if I change VISTA?

  • Microsoft visual C++ debug library

    Hello community, I'm having a problem and I searched online and can't find anything to solve. I have a Dell XPS Studio desktop 435/9000 and I am running Windows 7 Home Premium and my problem is the printer (the printer works fine), it's just when I s