Default Parameters Variables in a Form

Hi hussein/helios
I have a form based table named bank_adjustment:
SQL> desc bank_adjustment
Name                            Null?    Type
BANK_ACCOUNT_ID                 NOT NULL NUMBER(15)
TRANSACTION_DATE                NOT NULL DATE
ADJ_DESCRIPTION                 NOT NULL VARCHAR2(160)
ADJ_AMOUNT                      NOT NULL NUMBER
BANK_FLAG                                VARCHAR2(1)
CREATED_BY                      NOT NULL NUMBER(15)
CREATION_DATE                   NOT NULL DATE
LAST_UPDATED_BY                 NOT NULL NUMBER(15)
LAST_UPDATE_DATE                NOT NULL DATE
LAST_UPDATE_LOGIN               NOT NULL NUMBER(15)I see lots of columns variables not displayed but is defaulted to the system parameters like > SYSDATE, USERNAME, APPLICATION NAME, etc
where do I get all the list of these parameter substitution, available on forms environment?
Thanks a lot
MsK

Hi,
Not sure if I understand you correctly, but the column attributes and descriptions, and the sources for the values of those columns are covered and explained in [Oracle Applications Developer Guide|http://download.oracle.com/docs/cd/B25284_01/current/acrobat/115devg.pdf], Page 3-2 Adding Record History Columns.
Regards,
Hussein

Similar Messages

  • Custom sequences or functions with default parameters

    Hello!
    Using the Stimulus Profile Editor, I am finding that using a sequence within a sequence to be cumbersome.  This is because it requires you to declare in the main sequence, every parameter that the sub-sequence will use.
    I would like to have a 'configure' sequence whose parameters are all default and do not need to be declared or passed through by every sequence that calls it. Right now, if I change one argument of the 'configure' sequence I have to go to every sequence that references it, and update the parameters and the sequence call.
    Essentially, I would just like an independent  subfuction that has no inputs and returns a few outputs. If the profile editor is not capable of this, what would be my next best option?
    Thanks!

    Hello,
    You can take advantage of the new features in NIVS 2014 to help against re-defining default values for your RT Sequences. Take a look at the documentation in 2014 which explains in more detail how you can use channel references in your sequences:
    What's New in NI VeriStand 2014
    http://zone.ni.com/reference/en-XX/help/372846H-01/veristand/whats_new/
    Variables for Reading and Writing Channels in a Real-Time Sequence
    http://zone.ni.com/reference/en-XX/help/372846H-01/veristand/spe_vars_chref_parameters/
    Example 1a: Reading and Writing Channels Directly from a Real-Time Sequence
    http://zone.ni.com/reference/en-XX/help/372846H-01/veristand/spe_tutorial_example1a/
    By using channel references, you won't have to re-set default parameters. Let me know if you have any questions. 
    Sincerely,
    Aldo A
    Applications Engineer
    National Instruments

  • Running Business Rules with global Variables in Composite Forms

    Hi,
    I am having trouble running Business Rules, that include Global Variables, in composite forms.
    I have two forms in the composite form, both have entity in Page dimension set to 'local'. one includes entities at level 3 and the other has entities at level 0. I need to pass this level 0 entity to the business rule, from the form.
    When i try to run the rule, it gives me the following error:
    "This rule cannot be launched because it has hidden rtp variables without default values "
    I get this error even when i set the default value for the global variable.
    This rule runs perfectly when run from the individual form (which is part of the composite form).
    Please help.
    Thanks.

    Known Issue: 9900514
    The Use Members on Data Form and Hide Prompt options for business rules attached to composite data forms apply only for runtime prompt values from the globally shared pages and POVs of a composite data form. In other words, this will only use members that are shared across all component data forms. If users want a business rule to take context from a single component data form, they should attach the business rule to that component data form and include the business rules for that component data form at the composite data form level (<Business rules for componentX>).
    Please let me know if this is not what we are talking about.
    Thank you,
    Todd Rebner

  • Assigning java script array to a variable in struts form class

    Hi,
    I am trying to send a javascript array of string from jsp to struts action form.
    I have constructed a javascript array and assigned it to the form variable. But iam not able to access the variable in Action form. :( please let me know as to how i can send a string array in javascript to action form?.
    JavaScript
    var scriptarray = new Array();
    // code for populating the array
    document.MyForm.javaArray = scriptArray;
    document.MyForm.action="MyAction.do?dispatch=handlerMethod";
    document.MyForm.submit();

    var input = document.createElement("input");
    input.setAttribute("type", "hidden");
    input.setAttribute("name", "bla..bla");
    input.setAttribute("value", "bla..bla");And in addition to that.. Google is still alive

  • Issue with setting a default value to a Tabular Form field

    Hi -
    I'm running into an issue setting the default value of a tabular form column. I'm trying to set the default value to the row number (#rownum#). This used to work in previous versions, but now it's returning 0. Is there a was to set this value in the default value attribute of the field with a substitution string?
    Thank you in advance for help!

    Share with us what worked in previous versions.
    Jeff

  • Calling a stored procedure with default parameters

    Dear all,
    I am trying to call a stored procedure that has not all the parameters compulsory, and indeed, there are some I am not interested in. Therefore, I would like to call the stored procedure initializing only some of the parameters but if I miss some of them, I have an SQLException thrown. Is there any way to do that?
    Thanks
    Marie

    Hi
    One way to do it is ---
    By using Default Parameters you can miss few parameters while calling a procedure.
    =================================================================
    As the example below shows, you can initialize IN parameters to default values. That way, you can pass different numbers of actual parameters to a subprogram, accepting or overriding the default values as you please.
    Moreover, you can add new formal parameters without having to change every call to the subprogram.
    PROCEDURE create_dept (
    new_dname VARCHAR2 DEFAULT 'TEMP',
    new_loc VARCHAR2 DEFAULT 'TEMP') IS
    BEGIN
    INSERT INTO dept
    VALUES (deptno_seq.NEXTVAL, new_dname, new_loc);
    END;
    If an actual parameter is not passed, the default value of its corresponding formal parameter is used.
    Consider the following calls to create_dept:
    create_dept;
    create_dept('MARKETING');
    create_dept('MARKETING', 'NEW YORK');
    The first call passes no actual parameters, so both default values are used.
    The second call passes one actual parameter, so the default value for new_loc is used.
    The third call passes two actual parameters, so neither default value is used.
    Usually, you can use positional notation to override the default values of formal parameters.
    However, you cannot skip a formal parameter by leaving out its actual parameter.
    For example, the following call incorrectly associates the actual parameter 'NEW YORK' with the formal parameter new_dname:
    create_dept('NEW YORK'); -- incorrect
    You cannot solve the problem by leaving a placeholder for the actual parameter.
    For example, the following call is illegal:
    create_dept(, 'NEW YORK'); -- illegal
    In such cases, you must use named notation, as follows:
    create_dept(new_loc => 'NEW YORK');
    ===============================================================
    For more details refer URL http://technet.oracle.com/doc/server.804/a58236/07_subs.htm#3651
    Hope this helps
    Regards
    Ashwini

  • Global Variable in Oracle Forms 6i

    Hi,
    How & where to define global variable in Oracle form 6i and also let me know how to access it.
    Thanks in advance
    Regards,
    Sanket

    hi
    Global variable are forms specifice variable.
    it can store character value upto 255 for all usages.
    We can initialize it when we declare otherwise give error if we did not assign it any value.
    Oracle 10g it can take upto 4000 bytes
    GLOBAL.ur_globalvar := TO_CHAR(15);
    or
    :GLOBAL.ur_globalvar:= '15';
    or
    Remmber numeric values are implicitly converted by oracle 2 character
    :GLOBAL.ur_globalvar:= 15;
    -- which can then subsequently be accessed using...
    :GLOBAL.ur_globalvar;
    -- To destroy a global variable and release its memory, use the ERASE built-in procedure:
    Erase('GLOBAL.my_var'); Regards,
    Abdetu...

  • What are the default parameters for PER_EVENTS api

    Dear Experts,
    Can you tell us what are the default parameters for PER_EVENTS API.Here below I have pasted the API.
    procedure create_event
    (p_validate in BOOLEAN default FALSE
    ,p_date_start in DATE
    ,p_type in VARCHAR2
    ,p_business_group_id in NUMBER default NULL -- HR/TCA merge
    ,p_location_id in NUMBER default NULL
    ,p_internal_contact_person_id in NUMBER default NULL
    ,p_organization_run_by_id in NUMBER default NULL
    ,p_assignment_id in NUMBER default NULL
    ,p_contact_telephone_number in VARCHAR2 default NULL
    ,p_date_end in DATE default NULL
    ,p_emp_or_apl in VARCHAR2 default NULL
    ,p_event_or_interview in VARCHAR2 default NULL
    ,p_external_contact in VARCHAR2 default NULL
    ,p_time_end in VARCHAR2 default NULL
    ,p_time_start in VARCHAR2 default NULL
    ,p_attribute_category in VARCHAR2 default NULL
    ,p_attribute1 in VARCHAR2 default NULL
    ,p_attribute2 in VARCHAR2 default NULL
    ,p_attribute3 in VARCHAR2 default NULL
    ,p_attribute4 in VARCHAR2 default NULL
    ,p_attribute5 in VARCHAR2 default NULL
    ,p_attribute6 in VARCHAR2 default NULL
    ,p_attribute7 in VARCHAR2 default NULL
    ,p_attribute8 in VARCHAR2 default NULL
    ,p_attribute9 in VARCHAR2 default NULL
    ,p_attribute10 in VARCHAR2 default NULL
    ,p_attribute11 in VARCHAR2 default NULL
    ,p_attribute12 in VARCHAR2 default NULL
    ,p_attribute13 in VARCHAR2 default NULL
    ,p_attribute14 in VARCHAR2 default NULL
    ,p_attribute15 in VARCHAR2 default NULL
    ,p_attribute16 in VARCHAR2 default NULL
    ,p_attribute17 in VARCHAR2 default NULL
    ,p_attribute18 in VARCHAR2 default NULL
    ,p_attribute19 in VARCHAR2 default NULL
    ,p_attribute20 in VARCHAR2 default NULL
    ,p_party_id in NUMBER default NULL -- HR/TCA merge
    ,p_event_id out nocopy NUMBER
    ,p_object_version_number out nocopy NUMBER
    );

    From the menu bar, select
     ▹ System Preferences... ▹ Network
    Click the Assist me button and select Assistant. Follow the prompts.

  • Change Movieclips Parameters-Variables

    Hi,
    Im working on the following code and i need some help to
    change part of the code:
    The code is a slider to view pictures loaded from external
    file. I changed the size of the stage(1000x1000), the big pictures
    are displayed above(1000x400) and i would like to do 3 things:
    1.The slider has the size(400x50). I changed its
    size(500x80), the thumbnails move but at some point the slider
    remains half empty and then fills up again. This happens when i
    have small amount of pictures. I would like not to double but
    treble the No of the thumbnails so the slider wont remains empty.
    2.Move the thumbnails on the right-half part of the stage.
    When i only change the coordinates(x,y) of the slider it doesnt
    work.They r loaded on the right part, but when placing the cursor
    above they disappear.
    3.Is it possible when placing the cursor over a thumbnails to
    show text(small description of each pic)????
    Heres the URL of the code working:
    http://www.flash-creations.com/notes/dynamic_slidingviewer.php
    Thanks
    Theo
    Heres the code:
    /********* DECLARE AND INITIALIZE VARIABLES
    // names of folder and pictures, in the order to put them
    into the slider
    var picnames:Array = [
    "flower_orange",
    "flower_yellow",
    "flower_pink",
    "flower_red",
    "flower_purple"
    // constants
    var PICPATH:String = "flowers/"; // folder with jpgs
    var NPICS:Number = picnames.length; // number of pictures to
    load
    var PICX:Number = 10; // x loc of big picture
    var PICY:Number = 10; // y loc
    var THUMBHOLDERX:Number = 0; // x location of thumbnail
    holder movieclip
    var THUMBHOLDERY:Number = 240; // y location
    var THUMBW:Number = 72; // width of each thumbnail
    var THUMBH:Number = 40; // height
    var MARGIN:Number = 10; // margin between thumbnails
    var TOTALBYTES:Number = 212000; // approx sum of bytes in all
    jpgs (x 2)
    var MAXPIXELS:Number = 12; // max number of pixels to move
    slider per frame
    // mask definition; mask is assumed to cover some part of the
    thumbnail slider (here the numbers
    // were chosen so that there are margins between the mask and
    the right and left edges of the movie
    // (which is 420 x 290), and enough space above and below the
    thumbs to show them when they 'grow'
    // on mouseover
    var MASKX:Number = 10; // start x location of mask
    var MASKW:Number = 400; // mask width
    var MASKY:Number = 230; // start y location of mask
    var MASKH:Number = 60; // mask height
    var totalloaded:Number = 0; // running tally of bytes loaded
    from all pics
    // index into pictures array, used for loading
    var ipic:Number;
    // set up loader, an instance of MovieClipLoader
    var loader:MovieClipLoader = new MovieClipLoader();
    // use the main timeline to listen to and respond to loader's
    broadcast events
    loader.addListener(this);
    /********* DEFINE FUNCTIONS, INCLUDING INIT FOR MOVIE SETUP
    // thumbnail rollover handler
    function grow() {
    this.onEnterFrame = function() {
    if (this._width < THUMBW * 1.2) {
    this._x -= this._width * .025;
    this._y -= this._height * .025;
    this._width *= 1.05;
    this._height *= 1.05;
    } else delete this.onEnterFrame;
    // thumbnail rollout handler
    function shrink() {
    this.onEnterFrame = function() {
    if (this._width > THUMBW) {
    this._width /= 1.05;
    this._height /= 1.05;
    this._x += this._width * .025;
    this._y += this._height * .025;
    } else delete this.onEnterFrame;
    // function to move thumbnail slider ("this" = thumbs_mc)
    function sliderControl() {
    var w:Number = this._width/2;
    var hw:Number = mask_mc._width/2;
    var npixels:Number;
    // only do when mouse over slider mask
    if (_ymouse > mask_mc._y && _ymouse <
    mask_mc._y + mask_mc._height) {
    // mouse over left half of slider:
    if (_xmouse > mask_mc._x && _xmouse <
    mask_mc._x + hw) {
    npixels = (hw - _xmouse) / hw * MAXPIXELS;
    this._x += npixels;
    if (this._x >= 0) this._x = this._x - w;
    // mouse over right half of slider:
    } else if (_xmouse > mask_mc._x + hw && _xmouse
    < mask_mc._x + mask_mc._width) {
    npixels = (_xmouse - hw) / hw * MAXPIXELS;
    this._x -= npixels;
    if (this._x <= -w) this._x = this._x + w;
    // thumbnail click (onrelease) handler
    function openPic() {
    pic_mc.loadMovie(PICPATH + picnames[this.i] + ".jpg");
    // assign event handlers (called when all jpgs are loaded)
    function setupHandlers() {
    pct_txt.removeTextField(); // don't need loading indicator
    any more
    thumbs_mc.onEnterFrame = sliderControl;
    for (var i:Number = 0; i < NPICS*2; i++) {
    thumbs_mc["mc"+i].onRollOver = grow;
    thumbs_mc["mc"+i].onRollOut = shrink;
    thumbs_mc["mc"+i].onRelease = openPic;
    // listener function for broadcast 'done' message (for each
    pic)
    // onLoadInit gets executed when the movieclip has been
    loaded into _mc AND
    // its width and height data are available.
    // (_mc = the movieclip being loaded into)
    // this routine sets the size and position of each thumbnail
    clip as its jpg
    // is loaded and starts the next one loading. When all have
    been loaded,
    // a random picture is loaded into pic_mc and setupHandlers
    is called to
    // assign handlers to each thumbnail movieclip
    function onLoadInit(_mc:MovieClip) {
    // this gets done when the jpg is completely loaded:
    _mc._width = THUMBW;
    _mc._height = THUMBH;
    _mc._alpha = 99; // for image clarity
    // give the movieclip a property to remind it who it is
    // (used by openPic to know which big picture to open)
    _mc.i = (ipic >= NPICS ? ipic-NPICS : ipic);
    // add picture size to totalloaded variable
    totalloaded += loader.getProgress(_mc).bytesTotal;
    // now load the next one (if there are more) or set up
    handlers if done
    ipic++;
    if (ipic == NPICS * 2) {
    // start with a random photo displayed when all thumbs
    loaded
    pic_mc.loadMovie(PICPATH +
    picnames[Math.floor(Math.random()*NPICS)] + ".jpg");
    setupHandlers();
    } else if (ipic >= NPICS) {
    // load jpg into duplicate thumbnail (will already be
    cached)
    loader.loadClip(PICPATH + picnames[ipic-NPICS] + ".jpg",
    thumbs_mc["mc"+ipic]);
    } else {
    // load jpg into thumbnail
    loader.loadClip(PICPATH + picnames[ipic] + ".jpg",
    thumbs_mc["mc"+ipic]);
    // listener function to handle broadcast progress messages
    // make pct_txt show cumulative loading progress
    function onLoadProgress(_mc:MovieClip, loaded:Number) {
    var loadedsofar:Number = totalloaded + loaded;
    pct_txt.text = Math.floor(loadedsofar / TOTALBYTES * 100) +
    function init() {
    // create holder for pictures
    createEmptyMovieClip("pic_mc", 1);
    pic_mc._x = PICX;
    pic_mc._y = PICY;
    // create (and draw) holder for thumbnails
    createEmptyMovieClip("thumbs_mc", 2);
    thumbs_mc.beginFill(0, 100); // black
    thumbs_mc.moveTo(0, 0);
    thumbs_mc.lineTo(2 * (MARGIN + THUMBW) * NPICS, 0);
    thumbs_mc.lineTo(2 * (MARGIN + THUMBW) * NPICS, THUMBH);
    thumbs_mc.lineTo(0, THUMBH);
    thumbs_mc.endFill();
    // drawing the thumb holder at 0, 0 and then moving it makes
    its reg point = upper left
    thumbs_mc._x = THUMBHOLDERX;
    thumbs_mc._y = THUMBHOLDERY;
    // create, draw and enable mask over thumbs (could use
    different variables to define mask
    // if desired)
    createEmptyMovieClip("mask_mc", 3);
    mask_mc.beginFill(0x0000cc, 100);
    mask_mc.moveTo(0, 0);
    mask_mc.lineTo(MASKW, 0);
    mask_mc.lineTo(MASKW, MASKH);
    mask_mc.lineTo(0, MASKH);
    mask_mc.endFill();
    mask_mc._x = MASKX;
    mask_mc._y = MASKY;
    thumbs_mc.setMask(mask_mc);
    // create loading textfield indicator
    createTextField("pct_txt", 4, 200, 100, 40, 100);
    var tf:TextFormat = new TextFormat();
    tf.align = "center";
    tf.size = 12;
    tf.font = "Verdana";
    tf.color = 0xFFFF00;
    pct_txt.setNewTextFormat(tf);
    // make empty movieclips in thumbs_mc for each pic to go
    into
    // make double the number so the slider can move
    continuously and show content
    for (var i:Number = 0; i < NPICS * 2; i++) {
    var mc:MovieClip = thumbs_mc.createEmptyMovieClip("mc"+i,
    i+1);
    mc._x = i*(MARGIN + THUMBW);
    mc._y = 0;
    // set the pointer to the first jpg in the array picnames
    ipic = 0;
    // start loading jpgs (ipic is initialized to 0)
    loader.loadClip(PICPATH + picnames[ipic] + ".jpg",
    thumbs_mc["mc"+ipic]);
    /********* CALL THE INIT FUNCTION TO START THE MOVIE
    init();

    Hi,
    Thanks for the quick reply.
    The problem here is there variables are again used in calculating some other variable values either single value or intervals.  Also there are many queries which use these variable I am discussing about.  So, in this case it will be really hectic to change all these queries.  Even though if we change these variable properties, I think as these are mandatory customer exit default value variables, there wont be any effect.  If at all any exists can you please let me know what type?
    What do you suggest?
    Regards,
    Ravi

  • Auto run report with default parameters in Viewer

    Hi,
    Can any one tell me if it's possible to automatically run reports in Disco Viewer with default parameter values?
    For example, I have a worksheet with a parameter like 'Term like :Term Code' which has a default value of '%'.
    When I open the sheet in Viewer I'm presented with the Confirmation screen with default parameter values displayed and then click OK to run report. Is there a way to skip the confirmation screen and just run the sheet with default values as soon as it's opened?
    I tried using the 'Run Query Automatically' option in Query Governor preference but this results in Viewer opening the Edit Parameters screen instead of the confirmation screen.
    What I'd ideally like to do is bypass both the Confirmation and Edit Parameters screen to automatically run the worksheet with default parameters as soon as it's selected.
    Any thoughts appreciated,
    Ien Hien

    Hi,
    Option 1
    If the user is clicking on a URL for the report you could code the parameters directly into the URL thus, they are passed on startup. Section 13.5.2 Example 2 of the below URL provides an example:
    http://download.oracle.com/docs/html/B13918_03/urlstart.htm#i1014363
    Option 2 (Not Exactly what your looking for)
    This would still require a user to click something but, if your passing a wildcard it should probably be considered,
    If the parameter might be a wild card your better off making it an Optional Parameter which is now possible in Discoverer Plus 10.1.2. Thus, instead of passing an expensive % sign the condition will simply be ignored.
    Hopefully this helps....
    Jeff

  • How to change the font of variables in smart forms dynamicly

    Dear all,
    Is there any suggestion of how to change the font of variables in smart forms dynamicly?
    Thanks in advance.

    Hi,
    You cant change the font dynamically but tell me the scenario I will try to give the solution.
    Regards,
    Nageswar

  • How to define variable for smart form in coding

    hi all,
    i have to create a variable for smart form which is i already created in  smart form but facing some sort of difficulties.
    for example:
    DATA:  formname  TYPE ZCCCL_GOODS_RECEIPT.(SMART FORM NAME)
    DATA:  formname  TYPE ZCCL_RETURN_VENDOR. (SMART FORM NAME)
    DATA:  formname   TYPE ZCCL_GOODS_RESERVATION.(SMART FORM NAME)
    CASE in_mseg-bwart.
      WHEN '101' or '105' or '321'.
      formname = 'FORM_RECEIPT'.
      WHEN '122' or '124'.
      formname = 'FORM_RETURN_VENDOR'.
      WHEN '201' or '261'.
      formname = 'FORM_GOODS_RESERVATION'.
    ENDCASE.
    So this the logic im using but it gave me error like:
    Type  ZCCCL_GOODS_RECEIPT is unknown.
    Kindly tell me if this coding is wrong than what should i use.
    Thanks.

    Declare variable name for smartform as
    Formname type TDSFNAME in import tab.

  • How to pass select-options variable to a form.

    I have a select-options variable smatnr. I need to pass this select-options variable to a form by
    perform using smatnr changing svar.
    form cond_types using pmatnr changing svar.
    IT gives an error saying imcompatible types been passed between smatnr and pmatnr.
    Any ideas, what is wrong. How do I pass a select-option variable into a form the right way.
    Thanks
    Ram

    Try like this:
    TABLES: vbak.
    SELECT-OPTIONS: s_vbeln FOR vbak-vbeln.
    START-OF-SELECTION.
      PERFORM get_data USING s_vbeln[].
    *&      Form  get_Data
    FORM get_data  USING  p_s_vbeln LIKE s_vbeln[].
    ENDFORM.                    " get_Data
    Regards,
    Naimesh Patel

  • How to use Default parameters

    Hello,
    How do I use default parameters from ODP.NET. I have a proc in Oracle that shows Default? = Y when I do Describe in PL/SQL Developer. Therefore, I don't want to pass this parameter at all via ODP.NET/C# call. If I omit this parameter, I get the dreaded "Invalid number or types of parameters" error.
    Thanks for your help,
    Evgueni

    Hi,
    You'll just want to set OracleCommand::BindByName=true. Here's an example, hope it helps.
    Greg
    create or replace function showparams(p1 varchar2, p2 varchar2 default 'foo',
               p3 varchar2, p4 varchar2 default 'bar') return varchar2
    is
    retval varchar2(4000);
    begin
    retval := 'p1 = '|| p1;
    retval := retval || ',p2 = ' || p2;
    retval := retval || ',p3 = ' || p3;
    retval := retval || ',p4 = ' || p4;
    return retval;
    end;
    using System;
    using System.Data;
    using Oracle.DataAccess.Client;
    class testdefault
        static void Main(string[] args)
            using (OracleConnection con = new OracleConnection("data source=orcl;user id=scott;password=tiger"))
                con.Open();
                using (OracleCommand cmd = new OracleCommand("showparams", con))
                    cmd.CommandType = CommandType.StoredProcedure;
                    cmd.BindByName = true;
                    cmd.Parameters.Add( new OracleParameter("retval", OracleDbType.Varchar2,4000));
                    cmd.Parameters["retval"].Direction = ParameterDirection.ReturnValue;
                    cmd.Parameters.Add("p1", "firstval");
                    cmd.Parameters.Add("p3", "secondval");
                    cmd.ExecuteNonQuery();
                    Console.WriteLine(cmd.Parameters["retval"].Value.ToString());
    }OUTPUT
    =========
    p1 = firstval,p2 = foo,p3 = secondval,p4 = bar
    Press any key to continue . . .

  • DISPLAY variable in R12 Forms/Web tier

    Hello everyone,
    Just wanted to clarify something about the DISPLAY variable in R12 Forms/Web Tiers.  Is it necessary to have DISPLAY variable set to an active X session(Vnc) server session on Forms/Web Tiers? I understand that we need to do it for CM/Report/Admin tiers. Please confirm.
    Thanks

    968420 wrote:
    How about Forms/Web tiers?
    It's required is some cases (like the following), and I would recommend having it set on all application tier nodes to the same value.
    s_display -- Required only if you need to access graphs/charts, OLM implementation, ..etc (any page that requires DISPLAY to be set)
    Cannot Play The Course From The Class Details Page (Doc ID 391815.1)
    Receive Error When Attempting To Open A Work Plan Gantt Chart View (Doc ID 306413.1)
    s_forms-c4ws_display -- Required if you have SOA Gateway integrated
    Oracle EBS R12 Context Variables (Doc ID 458282.1)
    Thanks,
    Hussein

Maybe you are looking for

  • Macbook Pro freezes when I plug in USB

    I've not changed anything about my Macbook Pro (13" early 2011) except upgrade to Mountain Lion (10.8.2) and now when I plug in my USB hub (which only has my keyboard, mouse and printer connected to it) the computer freezes completely and I have to p

  • Document Description Issue.

    Hi All, When I create a document in CV01n and mention some description for that document, the description of the document is stored only in the log in language. e.g. I logged in with EN, then the description of the document will only be stored in EN

  • Why the Oracle 8.1.7 PE coundnot have error during start the install stage On Win98?

    Why the Oracle 8.1.7 PE coundnot have error during start the install stage On Win98?Someone tell me that need one patch for win98,but where can I download it? Thanks

  • Accessing resources via classloader

    We have a web app structure like this: webapp/WEB-INF webapp/WEB-INF/classes webapp/htdocs/ and we have .xsl files in xsl that we would like to load via the ContextClassloader: ClassLoader loader = Thread.currentThread().getContextClassLoader(); Inpu

  • Question about IOErrorEvent

    I'm a new user. I'm trying to handle IOErrorEvent in my script. I got "The class or interface 'flash.events.IOErrorEvent' could not be loaded." when publishing to swf. I do have import flash.events.IOErrorEvent in my code. I'm using Flash 8 professio