How can I set a default page point?

Hello world.

I am facing a problem by setting the default value to a page element in the apex 4.2.

I want the default value to a page (P3_EMP_NAME) element using the PL/SQL function body.

When I use the following code, I have faced no problem:

The :

DECLARE default_name varchar2 (50);

BEGIN

Select FULLNAME in default_name USER_REPOSITORY where USERNAME = 'peterw. "

RETURN default_name;

END;

Body of the PL/SQL function

But when I use the following code I have faced a problem :

The :

DECLARE default_name varchar2 (50);
BEGIN
Select FULLNAME IN default_name from USER_REPOSITORY where username =: APP_USER;
RETURN default_name;
END;

Error: Computer error point default value of the page P3_EMP_NAME.

ORA-01403: no data found

Please help me someone.

How can I solve this problem? Please help me someone.

The query did not find any records, then the user name does not match: APP_USER

So, what is the value of: APP_USER?

Maybe you need to use

user name = LOWER(:APP_USER)

Tags: Database

Similar Questions

  • How can I set a default page size?

    When Firefox opens, the pages are displayed in about 1/3 the size of the screen. I would like to be able to define a display size by default for all pages, in the same way that I can put a default zoom in Google Chrome.

    You can use an extension to set a page zoom and the size of the default font on the web pages.

  • How can I set the default page

    I have a simple application 3 pages, I care about her on standalone oc4j deply
    IAM using don't not security issues
    How do I configure application page when executed
    IAM using jdeveloper 10g ADF BC + JSF
    thanx

    Project properties > RUN/DEBUG/PROFILE > change

    default Run target select the web page you need...

  • How can I set the default download locations

    How can I set the default download locations?

    You can watch here:

    • Tools > Options > general: downloads
  • How can I set the default font size and type for the outgoing Hotmail mail?

    How can I set the default font size and type for the outgoing Hotmail mail?

    Hi Dale,

    What is the email client do you use?

    Outlook can be configured per - start Outlook-> Tools-> Options-> mail-> fixed Format and fonts... Select the font and size you need... Click ok on all screens.

    I hope this helps.

  • How can I set my default printer?

    my printer has worked fine since I installed it initially. Now today, it seems not to be the default printer. But I can't work on how to change default

    Original title: How can I set my default printer, I have office 2010, it was OK, but for some reason, it is by default.

    Hi MinnieTraynor,

    Thanks for posting in the Microsoft Community. It seems that you have a problem with setting the default printer on Windows 7. This can be very frustrating for you, and I appreciate the efforts you have put in. Let us work together as a team to get this number fixed.

    We start with a few questions-

    (1) what is the brand and model of the printer?

    (2) have you made changes on the computer?

    I would like more information about the issue.

    Method-

    I would have you look at the article-

    Change your default printer

    http://Windows.Microsoft.com/is-is/Windows7/change-your-default-printer

    In addition, I would have to see the article-

    Solve printer problems

    http://Windows.Microsoft.com/en-in/Windows/printer-problems-in-Windows-help#fix-printer-problems=Windows-7&V1H=win8tab1&V2H=win7tab1&V3H=winvistatab1&v4h=winxptab1

    We know if you need help. We will be happy to help you.

    Thank you.

  • How can I set the default value of a selection in the Query Panel with table.

    Hi Experts,

    JDev 12.1.3.0.0

    I have a view Criteria (contains a attribute with LOV). and the named criteria is dragged as a query with Table Panel.

    In the user interface, the LOV is now visible in the query Panel. Suppose that the LOV has 3 values: 'Manual', 'Other' and 'portfolio '.

    How can I set a default value for the choice of a select. ?

    Thank you

    Roy

    refer to:

    Andrejus Baranovskis Blog: Dynamic value by default for the field in query ADF search

    but rather to express as in the bellows of the image, choose literal and let 2

  • How can I set the default folders to the drive working?

    Hellooo...

    I was just wondering how can I set a default folder (work disk) location in Premiere Pro CC 2014?

    example image:

    Scratch-disks-in-premiere-Pro-cc.png

    So it should automatically record audio previews and video to one of my disks SSD and not on the same hard disk where my project.

    It's pretty boring change the location of the current 'default' whenever I start a new project...

    I can't find the menu for these parameters?

    Thanks for any help in advance!

    Create a template project with your desired settings.  Use it to start new projects and rename and save.

  • How can I set a default font?

    I can not set the font I want to use my default pages

    Michigan 1958

    There are a few tips to: police by default in the Pages, and How to change the default font on the Pages?

    Read also: http://macintoshhowto.com/software/how-to-change-the-default-font-style-in-pages .html

  • How can I resolve the default page in Portrait orientation?

    I found this question asked but never answered.  Now, I'm running into exactly the same problem.

    Under Page size in Page Setup - Options paper-, the default orientation is currently set to landscape and IE8 starts off that way every time.  It is always true, even after resetting the default IE8 options.  How can I permanently set default to Portrait page orientation so that I don't have to manually reset printing in Portrait, whenever I print a page of IE8?  I am running XP SP3.

    I found the solution to the problem.

    Go to the preferences of the default printer, it has been in the landscape.  After changing portrait, it now sets the default in IE8.

  • How can I set the default value for an input text element?

    Hello

    I have a page where I ask the user to fill out entry texts.
    The input text have links for some parameters of an exported method of the AM via the DataControl.
    Once the user fills the text of entry, he can click a button that executes the method associated with AOS.
    It's ok.

    Now, I want to set default values appropriate (taken from a java method) for some texts of entry on the initial page rendering, for they are virgins.
    How can I do this?
                                <af:inputText value="#{bindings.parameter.inputValue}" label="Method Parameter"
                                              required="#{bindings.parameter.hints.mandatory}"
                                              columns="#{bindings.parameter.hints.displayWidth}"
                                              maximumLength="#{bindings.parameter.hints.precision}"
                                              shortDesc="#{bindings.parameter.hints.tooltip}" id="it15">
                                    <f:validator binding="#{bindings.parameter.validator}"/>
                                </af:inputText>
    
      <executables>
        <variableIterator id="variables">
          <variable Type="java.lang.String" Name="parameter" IsQueriable="false"/>
        </variableIterator>
      </executables>
    
    
  • How can I set the default resolution of the tabs, Favorites, etc...?

    Hello world
    I'm having a problem with my browser. About 5 days ago, I installed my graphics (nvidia geforce gtx 670) was last updated. Immediately after the update changed the look of my browser!
    The problem is obvious with the Favorites bar and the tab bar.
    This is the difference:
    Before: http://imageshack.us/a/img153/4573/g35.png
    After: http://imageshack.us/a/img62/7908/nbir.png
    Please help me!
    Here, there is some other information... I use a new installation of the latest version of the browser. New profile, no theme, no addon.
    It seems that this menu are in the correct resolution.
    Change in topic layout.css.devPixelsPerPx:-1 to 1.22 config makes things better. But I want the old default resolution.
    I have average - 125% for the resolution in the options panel.
    Does turning off hardware acceleration.
    Thank you much for the help!

    Hello

    Firefox on Windows is now after display, scaling options that can make the biggest text on screens at high resolution.
    You can adjust the resolution of your screen.
    To change it follow these steps:

    • Type of topic: config in the Firefox address bar and hit the Enter key.
    • If the warning that this might void your warranty , click I'll be careful, I promised.
    • Search for layout.css.devPixelsPerPx

    • Double-click layout.css.devPixelsPerPx to edit its value. The default value is - 1.0 in Firefox 22 and above. Change it to 1.0 to run as in previous versions of Firefox.

    If necessary, further adjust the value of 0.1 or 0.05. Values between 1.0 and around 0.5 to reduce the size of the elements. Use a value greater than 1.0 to increase the size. For example, a value of 1.25 will increase the font size of the 125% to account for the default DPI setting in Windows 8. Check the value that you enter. Definition of a value that is too small will take everything away and too high will explode things.

    If the web pages should always be adjusted so you can watch the extension Default FullZoom Level or NoSquint .

    To adjust the font size for the user interface, you can use the extension of theme font & size changer .

    This solve your problems? Please report to us!

    Thank you.

  • How can I set a default zoom for the browser (freeze)?

    Hello, there is a possibility of using the CTRL ++ to enlarge the Web page, but he returned to the default zoom of Firefox in the middle which is very annoying. In general, I would like to be able to establish a certain level of default zoom and then only if necessary, use the CTRL + / zoom in and out of options. If my optimum zoom level is used for all my browsing unless I change it.

    I listed 2 modules below for you to consider. I did not use of NoSquint, but I use and rely on Default FullZoom Level.

    "You can also set a 'Minimum font size' in the Firefox Options > content > fonts & colours advanced."

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

    Not related to your question, but...

    You may need to update some plug-ins. Check your plug-ins and update if necessary:

  • How can I set a default save file for scans using the Solution Center?

    Using Windows 7-64 bit.   All-in-one printer HP Photosmart C-309 Premuim has.

    Due to a crash of Windows, I had to install a new drive and reload Windows. I also rebooted other software like the HP Solution Center & drivers. My problem is that I can't find how to set a default folder for my scans.  This is NOT mentioned in the user manual, but it has been initially implemented by the HP Technical Support when the printer was new.  Can anyone relate how to set the default folders for my scans?

    Thank you.

    Tango

    When you go to the analysis, there should be a window that appears to select the format and the DPI of the analysis. There is also an option for the options of '/CSA/ '. Here you can change the default location to save on selecting another file of having sent them to analysis.

    I would like to know if this information helps, and have a great day!

  • How can I set my default email client?

    When a Web site, in my case a Fantasy Football site, has an option to send a mass email to all members, who does not work for me in Firefox. How can I configure Firefox to allow these mass emails sent through another site?

    Firefox is configured to use Gmail or Yahoo if you have these accounts. This article describes the steps: change the program used to open links in e-mail.

    If you have a Hotmail /Outlook.com account, check out this thread: How to configure Hotmail as the default mailto simply, without gobbildy-gook.

    If you use a different e-mail site, some research may be needed first. A volunteer here might be able to help, according to the site.

Maybe you are looking for