procedure call with a button

Hello

I create a procedure from pl/sql like

create or replace procedure MY_PROC  (p_NAME IN VARCHAR2) as

Now, I have a button (the_button) in a region a selection list (s_List / P123_Name)

I want to call the procedure, but I did not now how

I try: condition Expression PL/SQL type button

EXPRESSION 1

BEGIN
   MY_PROC (:P123_name);
END;

but the code is not valid.

anyone can explain to me how can I call this procedure?

THX

René

Hello

What this procedure assumes what to do?

I guess your button to submit the page.

Then call procedure after submit processes.

State of the button, is conditionally display button.

No not for the performance of the procedures.

Kind regards

Jari

Tags: Database

Similar Questions

  • procedure call with sys_refcursor as a parameter in the procedure

    Hello
    I tried the following procedure after sys_refcursor as parameter of a procedure,
    And confused about the procedure call
    CREATE OR REPLACE PROCEDURE test_ref (emp_cur IN sys_refcursor) IS
    emp_rec Z_emp%ROWTYPE;
    BEGIN
    LOOP
    FETCH emp_cur INTO emp_rec;
    EXIT WHEN emp_cur%NOTFOUND;
    dbms_output.put_line(emp_rec.ename ||' is a ' || emp_rec.job);
    END LOOP;
    END;
    How can I call the above procedure to get the data

    Thank you

    You must declare a variable sys_refcursor and open it with the necessary query and then pass that variable as a parameter to your procedure.

    Something like that.

    set serveroutput on
    
    declare
      my_cursor sys_refcursor;
    begin
      open my_cursor for select * from employee;
      test_ref (my_cursor);
    end;
    /
    
  • Disconnection of call with button / stop

    Hello

    Is it possible to have call disconnect with button system / stop?

    Ex:. Samsung gives call witness (Home button) and disconnect with (power button)

    Concerning

    Paddy


  • With the system monitor position load raised by deferred procedure calls (DPC)

    After starting my E540 Thinkpad with an external monitor connected, a core is busy with (DPC) 50% deferred procedure calls and it works continuously to the clock speed of 100% (2.2 GHz). See the image below.
    After disconnect / reconnect the cable HDMI system load down close to 0% and the clock at about 40%, as it should.

    It looks like a driver problem.

    How to reproduce it:
    (1) the monitor is connected via HDMI, then turn on the Thinkpad opening shortly the Thinkpad.
    (2) after identifying, Manager tasks shows the 50% load to the base, the resource monitor shows that any load is consumed by deferred procedure calls and that the clock is always at 100%.
    (3) open the Thinkpad and unplug the HDMI cable. The load goes down to almost zero and the clock less than 50%, as it should.
    (4) plug the HDMI cable and the load remains at near zero.

    A few details:
    ThinkPad E540, i7-4702MQ, 8 GB, screen resolution 1920 x 1080
    Monitor HP LP2275w, resolution 1680 x 1050
    Win7 64-bit SP1, update Windows and ThinkVantage systemupdate

    The intel IGP is active (not Geforce 740 M).
    He dealt friezer if except the external screen is activated or the internal and externale are developed or duplicate in the Windows display settings.

    Someone else has the same problem?

    Any ideas what I can do?

    Here you can see:

    Link to photo

    Note of the moderator; image (s) converted into programming on display images in Forums

    Problem solved, with the help (here and here).

    Basically, the solution is the installation of a new graphics driver intel HD 4600 directly from intel.

  • Forms 11 g-error during the compilation of pl/sql block having retained a procedure call

    Hello

    I'm getting following error in trying to compile a when the button trigger pressed with a stored procedure call forms 11g R2

    Error on line 0...

    Declaration ignored

    Forms a button trigger (when the button pressed)

    ----------------------------------------------------------------

    do_nothing;

    Stored procedure: (10g R2 database)

    ----------------------------------------------------------------

    create or replace procedure do_nothing AS

    BEGIN
    NULL;

    END do_nothing;

    Note: This procedure works for sql as SQL Developer or plu sql tools.

    Concerning

    user10503016 wrote:

    After validation of this request, I did some tests more and found Forms 11g R2 need a minimum version of database - 10.2.0.4. Is that the reason?, because my version of the database is 10.2.0.1.

    Yes, one of the reasons.

    Hamid

  • Procedure called automatically after 5 Minutes

    I have a strange Apex 3.2.

    I have a page with a button. Once the user clicks the button, a call is made to a procedure in a package.

    This procedure attentive a couple more of procedures and functions, inorder to import data from one table to another.

    If the procedure takes longer than 5 minutes to complete, the user receives an error message.

    It's actually the error message that the user must get if it tries to do an import while the importation of another user is running.

    Is it possible that if the called procedure doesn't return within 5 minutes, the page is reloaded and the called procedure resulting in the error message above again.

    Gus

    5 minutes? This sounds like the time the web server's default... (300 seconds)

    I do not think that the page is reloaded, it just returns an error because of the timeout.

    What is the exact error message?

  • Stop the loops with a button

    I have an infinite loop is and display of data. How can I end the loop with a button or a keypress?

    Periodically perform a ProcessSystemEvents() call inside the loop. In a reminder of the STOP button, set a flag to indicate your loop to stop.

    stop unsigned int = 0;

    While (! stop) {}

    data getmeasured

    display the data

    ProcessSytemEvents()

    Sleep (250);   to be polite: it is impolite to spinlock, since you will monopolize the CPU and other threads can get hungry

    }

    then, in the reminder for a STOP button

    STOP the button callback routine

    stop = 1;

  • Remote procedure call (RPC) - how can I determine if a person has been access to my system remotely? I think someone is.

    I think that my computer is accessed remotely, files and emails being read. I disabled remote access in the Services section and have also disabled Mobile Sync; I did not use one of these services.

    When I took the remote procedure call (RPC) service and open the properties, the logon tab has the section "This account" clicked, "Network Services" typed in the box and a password. I can't change anything on this tab properties. I can't disable the service or disable the 'unattached profile '. How access to this service to make changes and more importantly, how can I confirm that someone logging into my system to remote and checking e-mails, files, etc.. This isn't a networked system, it's my computer in my home office. I am running Vista Ultimate.

    Thanks in advance for your help anticiapted.

    Hello

    Ultimate also has group policies that you can set to lock the machine - GPedit.

    Management of Windows Vista Group Policy (part 1) - see links to part 2 and 3
    http://www.windowsecurity.com/articles/managing-Windows-Vista-Group-Policy-part1.html

    Don't forget someone might access your email on the server, so do not forget to set a new password.
    As someone else has physical access to the computer?

    System Services stop isn't really the best/correct method to ensure safety.

    1. make sure that the system is free malware:

    Do a thorough check of the malware as no program detects and removes everything. Easy to find addition
    Malware is often accompanied by more difficult to discover and remove the payloads. Better to be cautious
    now that suffer the consequences later.

    It can be made repeatedly in Mode safe - F8 tap that you start, however you must also run them
    the Windows when you can.

    Download malwarebytes and scan with it, run MRT and add Prevx to be sure that he is gone. (If Rootkits run UnHackMe)

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN

    Malwarebytes - free
    http://www.Malwarebytes.org/

    Run the malware removal tool from Microsoft

    Start - type in the search box-> find MRT top - right on - click RUN AS ADMIN.

    You should get this tool and its updates via Windows updates - if necessary, you can download it here.

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN
    (Then run MRT as shown above.)

    Microsoft Malicious - 32-bit removal tool
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=AD724AE0-E72D-4F54-9AB3-75B8EB148356&displaylang=en

    Microsoft Malicious removal tool - 64 bit
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=585D2BDE-367F-495e-94E7-6349F4EFFC74&displaylang=en

    also install Prevx to be sure that it is all gone.

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN

    Prevx - Home - free - small, fast, exceptional CLOUD protection, working with other security programs. It comes
    a scan only, VERY EFFICIENT, if it finds something to come back here or use Google to see how to remove.
    http://www.prevx.com/   <-->
    http://info.prevx.com/downloadcsi.asp  <-->

    Choice of PCmag editor - Prevx-
    http://www.PCMag.com/Article2/0, 2817,2346862,00.asp

    --------------------------------------------------------

    If necessary here are some free online scanners to help the

    http://www.eset.com/onlinescan/

    http://OneCare.live.com/site/en-us/default.htm

    http://www.Kaspersky.com/virusscanner

    Other tests free online
    http://www.Google.com/search?hl=en&source=HP&q=antivirus+free+online+scan&AQ=f&OQ=&AQI=G1

    --------------------------------------------------------

    Also do to the General corruption of cleaning and repair/replace damaged/missing system files.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Run checkdisk - schedule it to run at the next startup, then apply OK then restart your way.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    -----------------------------------------------------------------------

    If we find Rootkits use this thread and other suggestions. (Run UnHackMe)

    http://social.answers.Microsoft.com/forums/en-us/InternetExplorer/thread/a8f665f0-C793-441A-a5b9-54b7e1e7a5a4/

    =======================================
    =======================================

    2 configure security - get a router with a built-in hardware firewall to add to your safety.

    Check with your router manufacturer and their forums because they usually have great information.

    Better to use WPA/WPA2 security if they are available and you can hide the SSID that will help
    help others to see the network (note on some routers more hide the SSID)
    causes of connection problems and if they find out the name he is more useful).

    Wireless network general recommendations of security for individuals
    http://theillustratednetwork.MVPs.org/LAN/SoHoWirelessSecurity.html

    Introduction to wireless network security
    http://netsecurity.about.com/od/Hackertools/a/aa072004b.htm

    10 tips for Wireless Home Network Security
    http://compnetworking.about.com/od/wirelesssecurity/TP/wifisecurity.htm

    Securing your wireless network
    http://www.practicallynetworked.com/support/wireless_secure.htm

    How to secure your router Linksys Wireless - similar can be used for other routers
    http://www.pctipguys.com/index.php?option=com_content&task=view&ID=57&Itemid=36

    What are the different wireless network security methods?
    http://windowshelp.Microsoft.com/Windows/en-us/help/b385cc8a-AF25-489e-a82e-decf6df26b681033.mspx#EZB

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • remote procedure call fail error fo vista SP2 printer installation

    I'm trying to reinstall my printer drivers and the HP software. I get the Windows Installer is not available. I have looked up lots of info on this and have tried many things but still seem to have a problem. This last time, I got the error message "the remote procedure call failed."  In services, the State of the PRC is started with Autostart upward, the RPC Locator is manual start. It is very annoying, because I can not use the HP printer. I disabled the AV and anti-spyware installation. Nothing seems to help

    Hello

    It sounds more like a problem with the installer for Windows rather than what it is with the printer itself.
    Have you tried to install other programs or equipment since the first see this message?
    If please see this thread and try again after the listed troubleshooting steps.
  • reject call with sms does not

    Hello

    Since I upgraded my 6603 lollipop I can't reject calls with SMS messages more.

    Because when I got a call (and the phone is locked) drag up the button to select the message of rejection on the bottom of the screen is layered with black bar soft key showing the home and back buttons.

    Is this a bug or am I missing a setting?

    Thanks in advance!

    Hello

    I've seen this before. You have installed the application Smart Key? If so, I suggest you uninstall this application if you want the ability to reject calls with a text message.

  • intermittent connection problem: 'the user profile Service service has no logon. The remote procedure call failed and did not execute. »

    Hello, I'm having intermittent problems with logging in my Windows 7 computer.

    Often after reboot due to applications of Windows Update or any simply restart after the holidays, I have the following message on trying to connect:

    "The service user profile Service has no logon. The remote procedure call failed and did not execute. "

    When I click 'OK', the machine disconnects and try to restart.  This can occur 2 to 5 times before _works_ .  But sometimes it happens at all.  And sometimes he _partially_ connects, but my "reminder" and the "Sidebar Gadgets' not loading not correctly and I get a different RPC error - for example, I lived once a message RPC over Skype cannot work because the remote procedure call failed.

    I'm fairly certain that it is different from the frequently reported issue 'profile of corruption', which was experienced by others.  This problem manifests itself as 'the user profile Service does not log. The user profile could not be loaded "and is reported as a blocking problem consistently reproducible which is set by the 'fixing' of the profile.

    However, the issue I feel is clearly related to an RPC problem is intermittent and not consistent - maybe one of my devices is not reset properly?  Where I can look in the logs of Windows, to provide relevant information on this subject?

    Because my computer was still under warranty, I have raised the issue of Dell and they removed the damaged system file (user account) last week.

    I hope that this will finally fix the problem (previously the error message disappear and reappear after a few weeks later.)  I'll give it a few more weeks to be sure.

  • Can not change the options in the remote procedure call

    I tried to open the remote procedure call in my Services. It is the value of Autostart and connect as a network system. However, all of these options, including the startup type, the service state, open a session on types and recovery have been grayed out so I can't change anything. I want to change my log on type, because I suspect it might be the reason for the inability of my laptop for install msi files. Is there a reason why I can't change anything in the remote procedure call? The remote procedure call Locator is thin. Any help would be greatly appreciated.

    Hi Logice,

    1. what happens when you try to install msi files? You receive an error message?

    2. did you of recent changes on the computer?

    The remote procedure call service is a very critical service of the system that you cannot change on the computer, as the editing options are disabled by design.

    MSI files are related to the Windows service install on the computer, if you receive an error associated with Windows install installing files msi on the computer I would suggest that you stop and restart the Windows service install on the computer and see if it helps.

    Manage services in Windows Vista

    http://Windows.Microsoft.com/en-us/Windows-Vista/manage-services-in-Windows-Vista-from-Windows-Vista-inside-out

    I hope this helps!

    Halima S - Microsoft technical support.

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

  • "search query: = services the remote procedure call failed and did not run".

    My computer crashed two days ago and I'm finally home, but whenever I try to open a window of any folder I keep refusing. In particular the main computer folder. One of the error messages I got is the following:

    search query: = services the remote procedure call failed and did not run

    Followed by this one:

    The remote procedure call failed and did not execute.

    I opened the Task Manager and tried to access the services from there, but whenever I do, the Task Manager window freezes.

    How can I fix it, my computer is so slow running and does hardly anything and guard with all freezing orders that I try.

    Hello

    This error generally, if the system is infected with Virus and malware or system files are corrupt.

    Please, try the methods below and check if the problem persists.

    SFC scanner.

    You can read the following Microsoft article to repair corrupted using SFC tool files. Use the System File Checker tool to repair missing or corrupted system files

    Reference: http://support.Microsoft.com/kb/929833/en-us

    If the problem persists, try a run Microsoft Safety Scanner.

    http://definitionupdates.Microsoft.com/download/definitionupdates/safetyscanner/amd64/msert.exe

    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Important: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Do try the suggestions above and let us know the results.

  • Win 7 problem: "the remote procedure call failed and did not execute."

    I logged on my account that has administrator access.  However, I just rebooted and find that I can't run from the desktop or the control panel.

    Similar problems there.  I use only a workgroup, not a domain

    Hi Bourayku,

    Please use the Microsoft Windows Forum.

    Try the following steps:

    Type services in the start menu search box.

    In Services, scroll down to "Remote Procedure Call", and make sure that the status is "started."

    and set to automatic.

    The second 'RPC Locator' must be set to "manual".

    (a) what is the error message he gets when they try to run.

    (b) are there any error messages in the dealing with RPC event viewer?

    Post back with answers

    Kind regards
    Aziz Nadeem - Microsoft Support

  • Message: The remote procedure call failed and did not execute.

    Every once in a while when I use the computer, it will completely disconnect from the internet and when I try to open Windows Explorer, I get this message (see image). He cannot do anything with the computer except save if I have a file open. A few minutes after that I get this message, the computer restarts by itself, without warning or anything, it just restarts. I found another thread here who said to do the following:

    Type services in the start menu search box.

    In Services, scroll down to "Remote Procedure Call", and make sure that the status is "started."

    and set to automatic.

    The second 'RPC Locator' must be set to "manual".

    I checked, and the settings seem to be exactly as described above, then it may be that. My computer doesn't seem to have any virus, but I had this problem for some time.

    I appreciate any help with this issue, as I am a student of architecture and use my computer at all times.

    Hello

    I imagine the inconvenience that you are experiencing right now. The steps you did to solve the problem is appreciated. Don't worry, I will help you on that.

    This problem may occur because of corrupted system files.

    I suggest you to follow the steps mentioned below and check the issue.

    Method 1
    Run the System File Checker as is a Windows utility that allows users to find corruptions in Windows system files and restore the damaged files. You can see the steps mentioned in the link below to run that.

    Method 2

    Temporarily try to disable the antivirus on the computer program and check if the problem persists. If no problem occurs, you may need to check for updates and firewall settings in the security software.
     
    Note: check that you activate your anti-virus protection on the computer back after you complete these steps. It is not recommended to disable these settings on the computer. It's just to solve the problem.

    I hope this helps. Please write to us if you need further assistance, we would be pleased to help you.

Maybe you are looking for