How to revise form field value in query and skip validation

Hi all,
I have a 10g form that has a field which I want to manipulate during query. I want to display a different value depending upon its orignal value. I did this with a Post-Query trigger on the field's datablock. However, now, when I attempt a new query, the form thinks I've changed the field (which I did). I want to change the field but trick Forms into thinking there were no updates. How do I do this? Note: the field is a list item that has a style of combo box.
Thanks, Mike

Ammad,
The reason is that sometimes the list returns the record group's key value (the second column) instead of the intended value (in the first column). This is because the record group is based on a SQL query. There are some values which are no longer in the table queried by the record group, thus the key value is displayed. I would rather nothing be displayed. As of now, I display a message indicating that there is a problem with the LOV.
I know about using a non-database form field. But I don't have any room left and I don't want to lay the non-database field on top of the database field and then have to enable/disable the two fields.
A friend at work suggested setting update_permission to trick Forms. Tried it but not successful yet.
Thanks, Mike

Similar Messages

  • Form field values in query

    Hi,
    How to access a Form Field value [Inventory Transfer] in a query:
    Tried all these combination:
    $[http://940.18.1], $[http://$940.18.1], $[OWTR.Filler]
    What is the right format to access the field value & Is there a way to check [debug] what the values are ?
    Am using: SAP B1 2005B SP:00 PL:34
    Regards.

    First, Enable System information from the View Menu.  This will enable you to see the table name and the field name when you click on the field.
    Once you get this info, you can access it by $[[TableName.FieldName]]
    Remote the http:// that you see above
    $ [ ] are all required.
    Suda

  • Getting run time value on form field by sql query and function

    Hi All,
    we have below requirement -
    create a form with fields as below -
    KRA_Type Grade Weightage Start Date End date
    Functinal E2 30 1-Jan-2010 1-jan-2011
    Organizational E2 70 1-jan-2010 1-jan-2011
    lov of kra_type has 2 values (Functinal, Organizational). requirement is to validate Weightage field such that for same grade :- Fuctional Weightage + Organizational Weightage = 100.
    please suggest on how to approch this.
    Thanks,
    Sam D

    this is not related to FORMS at all......
    1) create a database function which take grade parameter and return the total weightage.
    2) use it on when-validate-item trigger to validate
    create or replace function get_grade_weightage(p_grade varchar2)
    return number
    is
    v_grade number;
    begin
      select sum(Weightage)
       into v_weightage
      from mytable
    where grade = p_grade;
    exception when no_data_found then
       return 0;
    end;
    select get_grade_weightage(:grade)  into v_weigtage from dual;
    if :current_weigth < v_weightage then
        -- do something
    else
      --do something
    end if;Hope it helps
    plz mark the answer as correct or helpful if it is

  • How to retreive form field values

    I'm using Edge Animate CC 2014, and the examples I'm finding on the forums do not work. Is there something new in the latest version that replaces the following?
    var messageInfo = inputMessage.attr("value");
    Using the code above, does not assign the value to messageInfo. I even downloaded an example (older version) from the forum and it doesn't work.

    I tried adding both
    jquery-1.11.2.min.js
    and
    jquery.min.js
    Neither worked. Is there something else different in Edge Animate CC 2014?

  • How to pass the FORM Fields value by Form Personalization

    Hi ALL,
    I want to pass form filds values in to procedure. I am calling this procedure through form personalization of that form..... But it's not accepting any form field's value there... when i am passing hardcoded vales procedure is executing fine...
    can any one suggest what to do???
    i tried with these syntax
    TEST_EMP_FP(:ADDR.ADDRESS_ID,'ABC')
    TEST_EMP_FP(${item.ADDR.ADDRESS_ID.value},'ABC')
    Regards
    Ravi

    Hi,
    Iam calling an SRS from forms personlization. Can any body tell me how to pass the Form field values as parameters to the Reports. (Example when they call this Concurrent request from Transact5ions screen, The invoice number should be defaulted in the report parameter).
    Regards,,
    Anil.

  • How to get POF object's field value from query result

    hi,all:
    I want to get field value from the query result, my code is below
    Set setResults = cache.entrySet(createFilter("homeAddress.state = 'MA'"));
    for (Iterator iter = setResults.iterator(); iter.hasNext(); )
    Contact c=(Contact)iter.next();
    System.out.println ("firstame####=" + c.getFirstName());
    * but I get error*
    Exception in thread "main" java.lang.ClassCastException: com.tangosol.util.ConverterCollec
    tions$ConverterEntrySet$ConverterEntry cannot be cast to com.oracle.handson.Contact
    at com.oracle.handson.QueryExample.printResults(QueryExample.java:159)
    at com.oracle.handson.QueryExample.query(QueryExample.java:86)
    at com.oracle.handson.QueryExample.main(QueryExample.java:43)
    who can tell me how to get POF object's field value from query result

    Hi,
    If you look at the Java Doc for the entrySet method here http://download.oracle.com/docs/cd/E15357_01/coh.360/e15725/com/tangosol/util/QueryMap.html#entrySet_com_tangosol_util_Filter_ you will see that it returns a Set of Map.Entry instances so you need to do this...
    Set setResults = cache.entrySet(createFilter("homeAddress.state = 'MA'"));
    for (Iterator iter = setResults.iterator(); iter.hasNext(); )
        Map.Entry entry = iter.next();
        Contact c=(Contact)entry.getValue();
        System.out.println ("firstame####=" + c.getFirstName());
    }JK

  • How to Assign a Field value to a Variable??

    Dear All,
    Kindly let me know, if <b>"HOW TO ASSIGN A FIELD VALUE TO A VARIABLE????"</b>
    Situation is, we have a Field (OBJK-TASER) in which 2 tables (SER01 & SER03) are stored. And we want to access names of the Tables which are there in the field(TASER) in  (OBJK) table  to a variable and then passing that variable to the sql query as a table name to get data accessed dynamicaly.

    try this
    select TASER from OBJK into table it_table.
    loop at it_table.
    select field1 field2 from (it_table-table) into table it_fields.
    endloop

  • Actionscript & changing form field values

    I am building a form using flash forms. I have a particular
    field that by default the value is 0.00. I want to make an onchange
    actionscript that will dynamically change the form field value to
    0.00 if the end user deletes the value out of the field and leaves
    it blank.
    Please be gentle...I know my actionscript'ing is poor (and
    probably looks a wee bit more like JS than AS) LOL
    <cfsavecontent variable="zero_myfield>
    if (myfield.text == '') {
    myform.myfield.text == "0.00";
    </cfsavecontent>
    <cfinput type="text" name="myfield"
    onchange="zero_myfield">
    I know you can manipulate the value of a form field easily
    with javascript, but how to do the same thing with actionscript?
    Any pointers would be appreciated!
    Thanks!!

    ROFL, I figured as much...like I said, my AS is *very*
    rudimentary right now heheh
    I picked up an AS book yesterday evening to hopefully help me
    out some, I know not all AS is available to use in ColdFusion flash
    forms, but it will give me a good reference I hope.
    I'll try my hand at the listener and see what I can come up
    with. Thanks for the pointer!! :)

  • Forms personalyzation, passing Form field values to SRS concurrent request.

    Hi,
    Iam calling an SRS from forms personlization. Can any body tell me how to pass the Form field values as parameters to the Reports. (Example when they call this Concurrent request from Transactions screen, The invoice number should be defaulted in the report parameter).
    Regards,,
    Anil.

    Hi,
    You can use FND_REQUEST.SUBMIT_REQUEST to submit a concurrent progrm with parameters given.
    For example, get the invoice number into v_invoice_no and call a function included code bellow.
    FND_REQUEST.SUBMIT_REQUEST(
    <app_short_name>,
    <concurrent_short_name>,
    to_char(SYSDATE,'DD-MON-YYYY HH24:MI'),
    FALSE,
    v_invoice_no,chr(0),'','','','','','','','',
    '','','','','','','','','','');-- 100 ARGUMENTS FROM THE BEGINNING
    Where chr(0) must be the last argument.

  • How to store forms fields into the session ?

    Hi All,
    I have to store forms fields into the session.
    I have four forms (htm forms) in four jsps and there are total 25 fields.
    I am inserting all the fields into the database at once while user submit the last form.
    I want to use session to store forms fields.
    So please anybody tell me how to do that.
    Is the following code correct to store the forms fields into
    the sesstion........
    // creating a session
    HttpSession session=request.getSession(true);
    // retrieving form fields
    String name=request.getParameter("customer_name");
    String business=request.getParameter("business");
    String address=request.getParameter("address");
    and so on....
    // store form fields into the session
    session.setAttribute("name",name);
    session.setAttribute("business",business);
    session.setAttribute("address",address);
    and so on....
    and later on get the value as:
    session.getAttribute("name");
    session.getAttribute("business");
    session.getAttribute("address");
    and so on....
    OR
    is there another way to store form fields into the session.
    Please guide and reply with coding.....
    Please answer and help.
    Thanks
    Amitindia

    I don't mean to be an *** but I have no desire to help someone so unwilling to think >>and do. Go through some of these tutorial, do the examples in each and you will be far >>better equipped to ask questions:
    http://www.google.co.za/search?hl=en&q=%2Bjsp+%2Bjavabean+%2Btutorial&b >>tnG=Google+Search&meta=
    I was just asking that if I use the following
    <jsp:useBean id="cart" scope="session" class="session.Carts" />
    <jsp:setProperty name="cart" property="address" value="myaddress" />
    </jsp:useBean>then will I be able to acheive my aim as I have to store form fields into the session and later retreive while user submit the last form.
    Please read my question that I have posted.
    Am I using the right way................or which is the best way to store form fields into the session and later retrieve them.
    please reply
    Thanks
    Amitindia

  • How to get item field values for old versions?

    I need to be able to query old field values from previous versions of items in a SharePoint list. I can't execute code on the server (it needs to work with SharePoint Online/O365 for a start).
    So far the ONLY API I've that lets me do this is the lists.asmx GetVersionCollection SOAP call.
    This lets me specify a single field name and returns an XML structure with the values for the various versions, along with the modification time and who made the change - but NO reliable way of actually identifying *which* version (i.e. an ID or label). That
    is, if I know I need to fetch the Title value from version 512 ("1.0") of item 1 in list "Documents", I don't see how to reliably parse the results to determine which entry is version 512. While they may be returned in order, in many cases
    the entries are actually missing when there was no field value present (or perhaps when the field hadn't been created yet). I've tried comparing the Modified date to the Created date of the corresponding FileVersion item (which I can get via CSOM or REST),
    and while it works some of the time, it's not reliable. I've also looked at the output from the lists.asmx GetVersion API but I don't see how that's useful either, as the Created property for all versions always seems to be just the date the file was originally
    created.
    It does seem odd to me that there's not a neat way of doing this - if I need to return information for several fields but just for a single version, I have to make a whole lot of requests that return far more info than I need, and then I need to figure out
    how to parse the returned text in the case of, say, multiple-value taxonomy fields etc.
    Anyone tried doing anything similar here?
    Thanks
    Dylan

    try these links:
    https://support.office.microsoft.com/en-us/article/Track-and-view-version-information-for-SharePoint-list-items-2d69d936-fb0b-4c84-830e-11708e6ec317?CorrelationId=f87cf6ea-8cbf-446a-a4a0-e2c3a86b3425&ui=en-US&rs=en-US&ad=US
    https://social.technet.microsoft.com/Forums/en-US/e48ff216-7ed1-4b20-9f21-d496b1583eea/how-to-get-item-field-values-for-old-versions?forum=sharepointdevelopment
    http://sharepoint.stackexchange.com/questions/20019/get-meta-data-from-a-previous-version-of-a-document-through-webservice-in-moss-2
    http://sharepoint.stackexchange.com/questions/121594/getting-information-from-previous-versions-of-a-sp-list-using-csom
    Please mark answer as correct if it is correct else vote for it if you find it useful Happy SharePointing

  • Referencing form field values in javascript

    I am attempting to call a report from a button on a form in Portal. I have been successful in calling a report from a OnClick JavaScript event handler, but I also need to send a parameter to the report based on the value in a field on the form.
    I have been unable to find any information on how to do this. Does someone know how to do this? Thanks.
    Bruce Cable
    Kids123.com

    Perhaps this technote below may be of help:
    Addressing field values in forms
    For forms all of the form field values are kept in the "session storage", which is an internal
    data structure object
    and has some methods to access the data
    to access them you must have following information:
    1. Block name
    - DEFAULT for forms on tables
    - MASTER_BLOCK for the master section of MD form
    - DETAIL_BLOCK for the detail section of MD form
    2. Attribute name (is the column name plus 'A_' prefix)
    3. Column datatype (NUMBER, VARCHAR2, DATE)
    Example:
    declare
    my_empno number;
    begin
    my_empno := p_session.get_value_as_NUMBER(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_EMPNO');
    end;
    In case of MD form, there are 2 blocks - MASTER_BLOCK for master section of the form
    and DETAIL_BLOCK for the detail section. Since there is more that 1 record in detail section
    you must specify a row index for the detail row
    Example:
    declare
    my_empno number;
    begin
    my_empno := p_session.get_value_as_NUMBER(
    p_block_name => 'DETAIL_BLOCK',
    p_attribute_name => 'A_EMPNO'
    p_index => 5);
    end;
    Writing custom buttons code
    Every event handler has p_session argument, for any event handler it is a reference to the
    session storage object, by calling
    appropriate methods you can get and set values of the fields in the form.
    Attribute names are create by adding 'A_' to your table's column names, so DEPTNO becomes
    A_DEPTNO
    Note, if you add a button to detail section of the form for each detail row then you'll have to
    examine p_instance value which will be set to a number indicating for which row button has been
    pressed. (1 for the first detail record, 2, 3, etc.)
    Example:
    bold - generated part
    italic - custom code
    procedure WWV_DETAIL_GENSYS_99
    p_block_name in varchar2,
    p_object_name in varchar2,
    p_instance in integer,
    p_event_type in varchar2,
    p_user_args in varchar2,
    p_session in out DNONKIN.wwa_api_module_session
    is
    begin
    declare
    my_action varchar2(4000);
    var1 integer;
    var2 varchar2(4000);
    begin
    my_action := p_session.get_value_as_varchar2(
    p_block_name => p_block_name,
    p_attribute_name => '_DETAIL_ACTION',
    p_index => p_instance
    if my_action = 'DELETE' then
    var1:=p_session.get_value_as_NUMBER(
    p_block_name => p_block_name,
    p_attribute_name => 'A_EMPNO',
    p_index => p_instance
    var2:=p_session.get_value_as_VARCHAR2(
    p_block_name => p_block_name,
    p_attribute_name => 'A_ENAME',
    p_index => p_instance
    --- Add a record to my log table
    insert into my_log values (var1,var2);
    end if;
    exception when others then
    my_error_handler_if_any;
    raise;
    end;
    end WWV_DETAIL_GENSYS_99;
    null

  • How to get form upload value...?

    Hi, I'd like to know how to get form upload value?
    I have my initial page, index.cfm that has a upload input box
    (named "fileToUpload")that submits to action.cfm. In action.cfm I
    tried to get the value of the input by doing
    <cfoutput>#form.fileToUpload#</cfoutput> but instead I
    got a string like
    ("E:\JRun4\servers\cfusion\SERVER-INF\temp\cfusion-war-tmp\neotmp5263.tmp"),
    I expected it to be the value that was in the upload input field
    (i.e. "E:\My Pictures\Flowers.jpg"). How do I get this?
    Thanks,
    noijet

    CFFILE.ServerFile
    http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000192.htm#2712126
    CFFILE ACTION=Upload variables
    File variables are read-only. Use the CFFILE prefix to
    reference file
    variables; for example, CFFILE.ClientDirectory. The File
    prefix is
    deprecated in favor of the CFFILE prefix.
    CFFILE.AttemptedServerFile
    CFFILE.ClientDirectory
    CFFILE.ClientFile
    CFFILE.ClientFileExt
    CFFILE.ClientFileName
    CFFILE.ContentSubType
    CFFILE.ContentType
    CFFILE.DateLastAccessed
    CFFILE.FileExisted
    CFFILE.FileSize
    CFFILE.FileWasAppended
    CFFILE.FileWasOverwritten
    CFFILE.FileWasRenamed
    CFFILE.FileWasSaved
    CFFILE.OldFileSize
    CFFILE.ServerDirectory
    CFFILE.ServerFile
    CFFILE.ServerFileExt
    CFFILE.ServerFileName
    CFFILE.TimeCreated
    CFFILE.TimeLastModified
    Ken Ford
    Adobe Community Expert
    "noijet" <[email protected]> wrote in
    message
    news:efc7gq$n7s$[email protected]..
    > Hi, I'd like to know how to get form upload value?
    > I have my initial page, index.cfm that has a upload
    input box (named
    > "fileToUpload")that submits to action.cfm. In action.cfm
    I tried to get
    > the
    > value of the input by doing
    <cfoutput>#form.fileToUpload#</cfoutput> but
    > instead I got a string like
    >
    ("E:\JRun4\servers\cfusion\SERVER-INF\temp\cfusion-war-tmp\neotmp5263.tmp"),
    > I
    > expected it to be the value that was in the upload input
    field (i.e.
    > "E:\My
    > Pictures\Flowers.jpg"). How do I get this?
    > Thanks,
    > noijet
    >

  • How reset Acrobat form field using javascript API

    How reset Acrobat form field using javascript API

    There are several ways:
    resetForm(["Text1"]);
    or
    getField("Text1").value = getField("Text1").defaultValue;
    George

  • How can I pass field value betwen view in ICWC?

    Hi experts,
    I am new to this BSP programming. I have some requirements to modify standard ICWC in CRM 5.0
    Hope can get some advices and helps here.
    I have added a new field called <status> to context note SEARCHCUSTOMER in BupaSearchB2B view and also the same field name to context note CUSTOMER in BupaCreate view.
    I have added the field into both the HTM views and able to execute thru WebClient. However, I have one problem in passing the <status> value from BupaSearchB2B view  to the BupaCreate view when I click on the 'create' button.
    I do search and saw this thread How can I pass field value beetwen view in IC Web Client? , but i cant figure out how it works.
    Do I need to create the field <status> to context note CUSTOMER in BupaSearchB2B? Currently the context note does not have any attributes.
    Really appreciate for any help.
    Edited by: mervyn tay on Apr 7, 2009 11:42 AM

    solved by myself...
    code in the CREATE_ACCOUNT method.
            ev_entity->set_property( iv_attr_name = 'ZZICNO'
                                     iv_value = lv_icnum1 ).

Maybe you are looking for

  • How do I add a web site to the Safari Bookmarks Bar?

    Safari installed in Snow Leopard shows the following sites in the toolbar, or whatever it is, near the top of the window: Apple - Yahoo - Google Maps - You Tube - Wikipedia - News (117) - Popular. I would like to add some sites to that facility. Kind

  • How to get controls of a vi to send signals more than once

    Hi, Recently I designed a rather neat VI that allows the user to quickly switch wiring and ID number characteristics on a certain device.  The inside of the VI is an orchestration of sequences and loops that allows user full control through one contr

  • CS4 Photo downloader - can I change the default path?

    I'm using Bridge on Windows 7 x64. I have 2 hard drives exclusively for photographs. I never, ever store them in 'C:\Users\Mary\Pictures'.   But when I download images with the Photo Downloader, C:\Users\Mary\Pictures' is the folder I'm offered. Ther

  • Reader extension expiry

    I am interested to know what happens to a PDF that has been Reader Extended with signed Digital Signature (PKI) information within it. In this use case, the document is filled, locked (using PKI signature) and is stored in a suitable document managem

  • Javascript string to jsp

    Hi all, I have a JSP page with a javascript function that returns a string that I need to insert into my database. How would I go about getting a string from the javascript function to pass to jsp all on the same .jsp page? I can do this with an html