Auto filling the fields using refcursor procedure

Dear all,
I have obligation where user enters the order number and press on enter or tab other fields must fill up automatically. I wrote the procedure to set its record returns. I want to call out of the procedure.

How can I do this?

Thanks in advance

Please read this article using Ref cursors to return recordsets and follow the example of code to retrieve the record in variables (elements of APEX page in your case)

You must write something like below

LOOP
    FETCH l_cursor
//make sure you place the items in same order as your recordset columns
    INTO  :P1_CUSTOMER_NAME, :P1_ORDER_DATE, :P1_DELIVERY_ADDRESS;
    EXIT WHEN l_cursor%NOTFOUND;
  END LOOP;
  CLOSE l_cursor;

Thank you
Vikram

Tags: Database

Similar Questions

  • Need help with auto-fill the fields

    Hello

    I need help with a form that has multiple pages.  I have some areas I are duplicated in my document.  How I got these fields auto fill throughout the form/paper? For example, I'm going to fname lname, address, telephone, etc... How can I get these fields automatically on the other pages of the form?  Is this possible?  Any suggestions are welcome.

    Thank you in advance.

    If it's just a fill operation then make sure the fields have the same name. Then set the binding to the global level and all the fields with the same name will get the same value.

    Paul

  • How the auto fill a field based on the drop-down list unless the specific item is selected

    Hi all

    My apologies if I posted this in in the wrong place, but I am new to these forums, JavaScript and Adobe LiveCycle.

    I am trying to build a form using LiveCycle Acrobat but have problems with the drop-down lists.

    Inititaly I just wanted to fill in the fields in a table based on a matching menu selection dropdown in another table.

    I used the following code and it worked fine:

    Workbook.Content.Table1.Row3.AppropriationDetails.Row4.Cell1::change - (JavaScript, client)

    fFrom var = xfa.resolveNodes ("Workbook.Content.Table1.Row3.AppropriationDetails [*]. Row4.cell1');

    OTF var = xfa.resolveNodes ("Workbook.Content.Table2.Row3.AppropriationDetails [*]. Row4.cell1");

    for (var i = 0; i < = fFrom.length - 1; i ++) {}

    fTo.item (i) .rawValue = fFrom.item (i) .boundItem (xfa.event.newText);

    }

    The problem is that now I want the code above works UNLESS one of the items in the drop-down list is enabled specifically in this case, I want the text box in the other table to display a message such as "Details of the entry in the field below.

    I tried to create an If Else statement using the following code:

    Workbook.Content.Table1.Row3.AppropriationDetails.Row4.Cell1::change - (JavaScript, client)

    fFrom var = xfa.resolveNodes ("Workbook.Content.Table1.Row3.AppropriationDetails [*]. Row4.cell1');

    OTF var = xfa.resolveNodes ("Workbook.Content.Table2.Row3.AppropriationDetails [*]. Row4.cell1");

    for (var i = 0; i < = fFrom.length - 1; i ++) {}

    If (fFrom.item (i) .rawvalue = "Option 3") {}

    fTo.item (i) .rawValue = "enter the details in the field below.

    }

    else {}

    fTo.item (i) .rawValue = fFrom.item (i) .boundItem (xfa.event.newText);

    }

    }

    The code now filled the field with "Enter the details in the field below" any item I select in the drop-down list.

    Your help is greatly appreciated.

    See you soon,.

    ozzy_q

    Hello

    You use .rawValue in the change event. This will cause problems because the selection of the users has not received .rawValue from the drop-down list at the time when the change event is triggered.

    Move your script as it should to the output of the dropdown event.

    Hope that helps,

    Niall

  • How can I fill the records using the value LOV

    Create a form based on the use of the following output Table EMP

    Create a database block IE control-> Dept No. block


    Create a database block - EMP
    Create a LOV to the Dept not according to the dept table.
    For the current No. Dept. Complete records of the employees

    How can I fill the records using the value LOV?


    Thank you

    Hello

    Create trigger KEY-LISTVAL for control_block.dept_no with code similar to the following:

    IF SHOW_LOV ('LOV_NAME') THEN
            SET_BLOCK_PROPERTY ('EMP_BLOCK', DEFAULT_WHERE, 'DEPT_NO = ' || :CONTROL_BLOCK.DEPT_NO);
         GO_BLOCK ('EMP_BLOCK');
         EXECUTE_QUERY;
    END IF;
    

    Hope this helps

    Best regards

    Arif Khadas

  • Using an Excel spreadsheet to fill the fields

    Hello

    I am creating a form with LiveCycle Designer 8.2 where the user selects a field, and then a lot of fields is filled automatically based on the selection.  For example, the user selects the name of the project, on which they work and then project details (for example the location, owner, contact, industry, etc.) are automatically populated with the data from an Excel worksheet.

    I will distribute this form to a wider audience, so data that fills the form will have to "stay" with the form after the distribution.  The worksheet Excel should be sent with the form to get there?  Or the data automatically move with the form once it is sent?  If not, is there a better way to accomplish such a task?

    Examples would be extremely useful.

    Thank you!

    While you can create a PDF file from an Excel spreadsheet, the intention is to capture the appearance of the worksheet and not on the behavior associated with the worksheet. You must add objects in the designer to make the interactive form. In addition, you can use Excel data to populate list boxes and drop-down lists at the time of the design, but the worksheet has no relevance running.

    The simplest solution in my mind is to export data from Excel to a comma-delimited format and use the data to create one-dimensional arrays in the designer. The tables can be used to fill drop-down lists and drive the behavior of the form.

    By example, for a menu drop down called 'projectName' create an initialize event that calls a function in a script object called "loadProjects".

    Form1.Page1.Subform1.ProjectName::Initialize - (JavaScript, client)

    myScriptObject.loadProjects (this);

    The function loads the drop-down menu with the values in the table called "projects". On the exit "projectName" event, if a value is selected in the menu drop-down 'loadData' function is called to fill the 'rent' and the 'owner' based on the index of relative table. If a value is not selected in the drop-down fields 'rent' and the 'owner' are reset.

    Form1.Page1.Subform1.ProjectName::exit - (JavaScript, client)

    If {(this.isNull)

    Form1.Page1.Subform1.location.RawValue = null;

    Form1.Page1.Subform1.owner.RawValue = null;

    }

    else {}

    myScriptObject.loadData (this);

    }

    Form1. #variables [0] .myScriptObject - (JavaScript, client)

    projects of var = new Array ("","ABC","DEF", "GHI");

    localities of var = new Array ("","Sacramento","Ottawa", "Fernie");

    the owners of var = new Array("","Anne","Bruce","Carl");

    function loadProjects (dropdownField) {}

    for (var i = 0; i)< projects.length;="" i++)="">

    dropdownField.addItem (projects [i]);

    }

    }

    function loadData (dropdownField) {}

    Rentals [dropdownField.selectedIndex] = Form1.Page1.Subform1.location.RawValue;

    Form1.Page1.Subform1.owner.RawValue = owners [dropdownField.selectedIndex];

    }

    Steve

  • Auto-fill form fields based on the input from the end user?

    I am currently trying to create a new form that has a combo box 'Locations' with various options.  What I want to do, is to have another car to text field to fill out other fields associated with this location (for example, address, contact information) to save on time and reduce the possibility for the end user input errors.

    What are my options to accomplish such a task?  A form of bonding in the fields with a database of MS maybe?

    Thanks in advance for all advice and assistance on this subject!

    I created a sample for you... are a look and let me know if this is the case for you.

    Paul

  • How to get code signing keys without filling the field "company"?

    When you use RIM "Sensitive APIs" I am aware that I should get the signature keys and was directed to: https://www.blackberry.com/SignedKeys/

    When you enter information for my keys the field "Company" is required.

    This is why I'm a bit confused (questions below):

    * How the company is associated with these keys?
    * What happens if I change companies after obtaining the keys?
    * Is that my current employer, so I work? (ie: McDonald's, Burger King)
    * What happens if I am a student?
    * Can I create a company just to get the keys?
    * What happens if I put unemployment in the area of the company?
    * What happens if I set the self-employed in the field of the company?

    I have a job with a company (which is a good thing these days), but at home and as a software engineer and passionate about mobile I just began to develop blackberry applications and I wanted access to these very important APIs.

    Thank you.

    Carl

    Put independent Consultant or put your name. RIM expects you to work for a sort of cabinet when filling out the information, but if you're a solo developer so it makes sense to be put your name or a counselor, since you are the company of one of these two.

  • check box for fills the fields


    Hello

    I have a column of text fields named date1, date2, date3... all the way to date10.  I would like to include a check box if the user enters a date in the field "date1" then checks the checkbox, it could fill the remaining fields with this value.  Someone would have the script for this.

    Thank you very much.

    You can use this code as the script of the mouse upward to the checkbox:

    if (event.target.value!="Off") {
        var v = this.getField("date1").valueAsString;
        for (var i=2; i<=10; i++) {
            this.getField("date"+i).value = v;
        }
    }
    
  • Auto fill the file name only

    Hello

    For starters, I'm a very low level starting with JavaScript.  I understand what it is and can do, but I have no idea how to write it, and I was not able to learn again.

    Can someone help me please find/write a script that can be defined as an action on a text field to automatically fill in the name of a form file (similar to how would work a script that fills the current date).  My goal was to put right in the footer, and I thought there was no way that would not have Acrobat a few step has already set up to do this, but after about 4 hours of research, I have not found something that works for me and it really keeps me upward.  I found a few things that populate the number page, date and then file name or path. But I want only the name of the file to fill in the lower right corner, in a small, gray.

    I would greatly appreciate the knowledge of anyone on this!

    Thank you!

    Stef

    If you want just the current file name, you can do the following:

    Go to the calculation of the field and under custom script tab, enter the following

    This.documentFileName = Event.Value;

  • strange behivor on public pages with automatically filled the field

    Hello

    I created a page (APEX 3.0) where I have two field, name/wwid, name is a LOV, when I choose the LOV NAME, the page is automatically populated with wwid field, I followed this thread (used AJAX...) and it works fine as LONG AS I'm not the public page, but when I make it PUBLIC, it no longer works, the field wwid always returns null it

    Re: AutoFill fields

    Does anyone have a similar experience or ideas/suggestions?


    Thanks in advance

    Mike

    Of course

    In your javascript, you have something like this:

    get var = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=getDet',0);

    The value 0 is the page number. You can edit your public page, and then it would be pointless to have a public page 0.

    Try and tell me if it worked.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

  • Auto fill the text field with user logon Windows users

    Can someone tell me how to achieve the following objectives, I want a text field in my form to be filled automatically with the windows users username.

    I found an answer 'Define a new variable REMOTE_USER - user domain\username Request.Server should display'

    This script/s should I use on the forum and put it where?

    Thanks in advance.

    Steven Thompson

    Sydney, Australia

    First you must put the code I provided in a special level of the Acrobat application folder and then restart Acrobat or Reader.

    Enter the folder level Scripts by Thom Parker

    Then, in your form field, you can use the following code in the "custom javascript calculation:

    Event.Value = Identity.loginName;

    Note the capitalization of the word 'identity '.

    The application-level script will work with Acrobat and LiveCycle Designer Forms.

    If you want to use a feature, you can use the following code in an application-level folder:

    getIdentity = app.trustedFunction (function (cProperty) {}
    app.beginPriv ();
    cValue = identity [cProperty];
    if(cValue == undefined) {/ / check for the unknown identity property}
    App.Alert ("property of the identity is not known:" + cProperty);
    cValue ="";
    } / / end if not defined
    return cValue;
    app.endPriv ();
    } / / end app.trustedFuncton
    ) / / end getItentity

    And then in the "custom calculation script:

    Event.Value = getIdentity ("loginName"); get the loginName

  • With the last update auto-fill in frequently used email addresses were significantly slower to the point is now a nuisance.

    When you send e-mail to the same people over and over Thunderbird starts automatically what you guess after just a few keystrokes.

    For example, if I type js it will before semi-automatic [email protected] and I won't have to type something more.
    In the last update, the performance has regressed to what was instant now a few tenths of a second and is a big nuisance.
    Now I type in js and click on enter I just get js. If I type js and then pause for a moment and then fills semi-automatic.

    Can you if you please correct it.

    I don't think you should have concerns about installing MoreFunctionsForAddressBookbecause it's an add-on well known and widely used.

    It is unlikely that Mozilla will cancel the changes, but it may be months or years before they solve the problem. If the combination of the add-on and the CT 31 does not for you, it is always possible to reinstall the previous version:

    http://FTP.Mozilla.org/pub/mozilla.org/Thunderbird/releases/24.8.0/Win32/

  • Conditionally Auto Fill a field on a page of the OAF by customization

    Hello
    I'm new to JDeveloper. Can someone tell me how conditional to fill in a field according to the prevoius field in a form OPS page customization.
    The page I want to do this operation is a SIT created with games of value attached to it. This SIT is called from a page hierarchy seeded by link Actions. There is no coding part in this page it's just personalization.

    This is clearly a question to ask in this {forum: id = 210}

    Timo

  • Drop down value triggers fills the field of text able to appear.

    Am back, I have a form that is capable of filling that I am very satisfied, but I still want to do some improvements more.

    I want to be able to use my drop-down list values to trigger new windows

    For example: if I have a drop down menu which asked for the title and the choices are CIV, MIL, CTR if they chose to MIL, I need to know what their rank is, but if they choose CTR I need to know what company they work for.

    So, if they CTR has chosen, to the right of the value, I would like a text field to appear saying the company name: _ so they can fill it.

    I could find some information, but it was design to have choice narrowed down I just need to fill areas of text able to appear based on a selected value drop.

    Thanks again

    I created a sample for you... .the code is located on the output of the DDList event. In my case, I used the same field to enter the News extra and just changed the legend based on the chosen value. I want to what you think.

    Paul

  • The fields using custom to download Media

    Hay guys.

    You have a problem, I'm stuck at the moment.

    I have a site that I use 3 buttons html designed to allow downloads of brochures, videos, and put a link to another page. The problem I have is that I want to use the custom (from individual products) fields at home, where is the link to download media.

    I have the buttons pointing to custom fields, but I don't know what I should put in the custom field so that they point to the downloading of media.

    I'm kinda new to BC, so that would explain why I can't understand the way we do.

    The media download real entity?

    If Yes, then you'll need get the url for this link, you can use the editor to insert it into the body, get the link and that cut.

Maybe you are looking for

  • 'Save attachments' feature in Windows Mail no longer works

    When I display all the messages in my Inbox Windows Mail with an attachment, as the 'Save attachments' feature in Windows Mail is "grayed out" on the FILE menu drop-down (both when you view messages in the preview pane, and when the message is opened

  • Quicken - the installation program must be started by the Windows program manager

    I used the special edition of Quicken 2002 on multiple computers - which this one with Vista for 3-4 years.  I accidentally deleted and tried to reinstall it.  Using the installation application, the system makes the installshield, then stops and say

  • My HP printer is offline, how to bring back online and functional?

    Original title: the printer is offline how do I get it online HP wireless worked fine so far

  • Multiple JAVA files

    If I have two completely independent java applications, is it possible for me to combine them into a single application and create a menu item to switch between the two?

  • Live debugging on 9000 "BOLD"

    Hello I hit a problem which requires me to debug on my device rather than on the Simulator. Yes, I know that there are countless articles in the knowledge base and the Forum on this topic. But it's still not clear where to procure the necessary tool