Frm-40208 from running in query mode. cannot change database fields

Hi,
Could some one help me with this.
I am calling a form from another form. I am passing the parameter list to the calling form and doing a query by setting the block property. But when queries the message
FRM-40208 Form running in query mode. cannot change database fields .
I do not want the message to appear when they go the called form . Please some one could help me how could I avoid displaying the message.
Regards
Bain

Hi,
Good day! I am working with a module that also calls another form. It uses call_form with query mode parameter set to query_only. My problem is, whenever i call the other form using the call_form, it would display the called module and then as it populates the detail block of the called form, it will display frm-40208 from running in query mode. cannot change database fields per record. What I want is for the message to be displayed only once.
I have tried capturing the error by using on-error trigger, but it doesn't go to that whenever the other form was being called. I think the message has to do with the post-query trigger, because it passes some values on a dbase block objects.
Do you have any suggested solutions or workarounds to make the message display only once whenever the other form is being invoked by the call_form?
I would greatly appreciate any suggestions/ideas.
Thanks and regards,
ASantiago

Similar Messages

  • FRM-40208: Form running in query-only mode. Cannot change database fields.

    Hi,
    I am using forms 6i where it is calling a form from a menu in query like call_form(,query_only). Now an error is occurring on call of that form ‘FRM-40208: Form running in query-only mode. Cannot change database fields.’ Though this is been handled to give a certain message from on_error message from a package from library.
    Now the issue is that the error keeps on popping even after the ok button is pressed. There are number of records from the table. How can we handle the error. Any suggestion would be really appreciated!!!
    Regards,
    Rajesh

    thanks Gred but i have resolved the issue. it seems that each row was going into query_only mode (program written such a way). therefore the error was showing even after the OK button. handled the issue from ON_ERROR trigger. anyway thanks for your time Gred!

  • Running in Query Mode

    Dear Friend
    I got this message "FRM-40208: Form running in query-only mode. Cannot change database fields."
    This happened only when I run the program through the application menu program
    But when I run the program alone it is not give this message and it is inserting
    Without any problem.
    Please help

    It depends on what you're using as a menu. If it's a drop-down menu or a form then the code will be in an mmb or fmb file respectively and you'll need to change the QUERY_ONLY parameter in the specific Call_Form procedure call.
    If that doesn't work or there is no Call_Form procedure call (eg Open_Form is used instead) then it may be that the menu itself is opened in Query-Only mode, so you'll have to change the way that is opened, but beware any change you make will affect the way other forms are run from the menu as well.
    If the menu is a web page, or is opened in Query-Only mode in a web page, then you probably have query_only=YES set in the link to your form, so change it to query_only=NO.
    If the menu is opened in Query Only mode from the command line or a shorcut then check for query_only in the parameters.

  • After post accounting document user cannot change Reference Field

    Hi,
    I have a issue. After post accounting document user cannot change Reference field value. Please suggest .     
    Thanks & Regards,
    Hemant Maurya

    Hi Hemanth,
    Mr. ajay's solution solve your issue.
    If you activate it will applicable to entaire client (it is not comp code specific)
    For Activation USe T.Code: OB32 maintain Field (BKPF-XBLNR), Account Type & Transaction Type Blank
    Remove Field Can be change Check Box
    Regards
    Viswa

  • FRM-40208 - CAN NOT UPDATE, WHEN RUNNING IN QUERY MODE

    Hi all,
    I am calling a form in a query mode and when the query is performed in the called form, i am trying to update a field, but i get a error message frm-40208. I have checked my block properties insert_allowed, update_allowed and delete_allowed are set to yes and in the item properties the QUER ONLY is set to NO. can any 1 please help in this matter.
    Regards,
    Ritesh

    how do you do an enter query? is it code somewhere in the pre-form or pre-block automatically using the enter_query?

  • Running sql query across multiple (remote) databases

    I'd like to run a query that pulls information from multiple databases which are not on the same machine. Is this possible using SQL Developer?

    If you are still interested, there is a tool that can query multiple databases and save results in a single text file that you can then modify as necessary - see www.bsutils.com/MuSQL.html

  • Query owner cannot change query

    We are trying to setup security that will permit the following:
    Display and Execute all queries
    Create queries prefixed with 'REP'
    Change and Delete their own queries
    The setup below is permitting all of this except that the owner cannot change their own queries. The owner is permitted to create and save a query named 'REP12345'. However, when trying to edit the query using query designer, the user gets the message: You are not authorized to REP12345 Query '3'. 
    S_RS_COMP
    Activity                       Display, Execute
    InfoArea                       *
    InfoCube                       *
    Name (ID) of a reporting compo *
    Type of a reporting component  Calculated key figure, Query View, Query, Restricted key figure       <...>
    S_RS_COMP
    Activity                       Create or generate
    InfoArea                       *
    InfoCube                       *
    Name (ID) of a reporting compo REP*
    Type of a reporting component  Query
    S_RS_COMP1
    Activity                       Change, Display, Delete, Execute
    Name (ID) of a reporting compo *
    Type of a reporting component  All values
    Owner (Person Responsible) for *

    I have gotten it to work with the following setup:
    S_RS_COMP
    Activity                       Create or generate, Change, Display, Delete, Execute                  <...>
    InfoArea                       *
    InfoCube                       *
    Name (ID) of a reporting compo *
    Type of a reporting component  Calculated key figure, Query View, Query, Restricted key figure       <...>
    S_RS_COMP
    Activity                       Create or generate
    InfoArea                       *
    InfoCube                       *
    Name (ID) of a reporting compo REP*
    Type of a reporting component  Query
    S_RS_COMP1
    Activity                       Display, Execute
    Name (ID) of a reporting compo *
    Type of a reporting component  All values
    Owner (Person Responsible) for *
    S_RS_COMP1
    Activity                       Change, Display, Delete, Execute, Enter, Include, Assign
    Name (ID) of a reporting compo *
    Type of a reporting component  All values
    Owner (Person Responsible) for $USER

  • Problems with query on a non-database field

    Hi,
    Hopefully I am in the correct section...
    I have some problems. I wanna query a non-database field but it does not work for one of them. I have tried the following...
    declare
    vsNewDefaultWhere varchar2(4000);
    vbFirstWhere boolean;
    cursor curArea is
    select a1_area, a1_hbno, a1_seqno
    from b1_in, c1_hdr, a1_bl
    where b1_sequenceno = a1_seqno
    and b1_shipid = a1_hbno
    and b1_id = :c1_shipid;
    rowArea curArea%ROWTYPE;
    procedure mergeStrings (sNewWhereClause varchar2) is
    begin
    if not vbFirstWhere then
    vsNewDefaultWhere := vsNewDefaultWhere || ' and ';
    end if;
    vsNewDefaultWhere := vsNewDefaultWhere || sNewWhereClause;
    vbFirstWhere := false;
    end mergeStrings;
    begin
    navigate.resetselrows('IMP_HDR');
    navigate.resetselrows('IMP_DTL');
    if not navigate.customwhereclause then
    navigate.resetwhereclause('IMP_HDR');
    end if;
    vsNewDefaultWhere := Get_Block_Property('IMP_HDR', DEFAULT_WHERE);
    vbFirstWhere := vsNewDefaultWhere is null;
    ---- does work!
    if :IMP_HDR.c1_usecode is not null then
    mergeStrings('c1_shipid in (select b1_id from b1_in where b1_fac = ''' || :global.fac || ''' and b1_comp = ''' || :global.comp || ''' and b1_code like ''' || :c1_usecode || ''')');
    end if;
    ---- does not work!
    open curArea;
    fetch curArea into rowArea;
    if curArea%found then
    if :IMP_HDR.c1_area is not null then
    mergeStrings('c1_shipid in (select b1_id from b1_in, c1_hdr, a1_bl where b1_fac = ''' || :global.fac || ''' and b1_comp = ''' || :global.comp || ''' and b1_sequenceno = ''' || rowArea.a1_seqno || ''' and b1_shipid = ''' || rowArea.a1_hbno || ''' and rowArea.a1_area like ''' || :c1_area || ''')');
    end if;
    end if;
    end;
    Thanks for your help in advance and let me know if you Need more Information.

    Hello,
    Ask Personalization questions in the dedicated E-Business Suite forum ;-)
    Francois

  • How do I get a value from a portal form for a non database field ? HELP!!

    I have a form based off of a table that I added a field to. The form is to allow the user to change abbreviation for a
    department field ie. BIO to BIOL. for a biology department. I have a pl/sql procedure for validation using the custom option
    on the update button to verify the user and update the data. I have tested to code at the sql prompt and it works.
    They only difference between the prompt and the form is the non-database field new_dept_abbr was added to the
    form. I don't know how to capture the value of the user input into a variable that can be used in the pl/sql.
    Any help would be appreciated.
    I have tried this approach
    v_new_dept_abbr := p_session.get_value_as_varchar2(
    p_block_name => 'default',
    p_attribute_name => 'new_dept_abbr'
    have tried using p_attribute_name as 'a_new_dept_abbr' but this does work and does not exist in the body of the form.
    Have also tried setting the p_block_name to _session - still doesn't work.
    Any ideas??
    Thanks
    Debbie Brennan

    Thanks for the info. I tried that and it still doesn't pull the value. I have opened a TAR via metalink, but I'm not getting any
    satisfactory answers. I ran across an note - 137172.1 that has this snippet of information in it.
    Unfortunately, at this time (portal 3.0.7.6.2) , a non-table item cannot be
    referenced in a plsql event handler, only in client side JavaScript code. This
    is a known limitation and will be fixed in a future release.
    I don't know how to get the value from the client side JavaScript code to a pl/sql variable. Do you?
    I've been trying to get them to tell me if the 'known issue' has been addressed in 3.0.9.
    I'll keep at it. Thanks so much for your suggestion I appreciate it.
    Deb

  • Cannot change Phone field in contacts

    My brother has an iPhone 4 running iOS7. In the contacts app he cannot change the type of phone number. If you click "add phone", the label shows "radio" as the default number type. If you click on the blue "radio" label it gives the picklist of available options. This list does NOT include iPhone as an option. On my iPhone, in the upper right corner, I can select Edit to change the picklist or create a custom label. On his phone, instead of "Edit" it says "Done" - he does not have an edit option.
    These are are the choices he has for the phone label: radio, home fax, home, company main, work, work fax, car, mobile, assistant, and pager.
    Any idea how he can fix this to be able to edit that list and to add a custom label?

    It sounds as if your brother is syncing his contacts to an Exchange account. If so, the label options are controlled by the Exchange account. The only way to get the ability to add custom labels would be to sync to some other type of account. Of course, that may not be an option if that's the only place he has his contacts.
    For what it's worth, it's not necessary to label anything "iPhone". "Mobile" works just fine. It will not affect whether or not you can FaceTime or iMessage a contact.
    Best of luck.

  • Sending colour from a JSP page into a MySQL database field

    Dear All,
    I am working on trying to send different colours into a MySQL database field from a JSP page.
    This is so that I can represent different pieces of data on my webpage tables in different colours providing status depending on the user request.
    What is the best way to write JSP code for this?
    thanks,
    Alasdair

    Double-posted:
    http://forum.java.sun.com/thread.jspa?threadID=598637

  • How to pass a date parameter from report builder query designer to oracle database

    i'm using report builder 3.0 connected to oracle database. i'm trying to pass a date parameter in the query with no success, i don't
    know the exact syntax. I've tried :
    SELECT * FROM igeneral.GCL_CLAIMS where CREATED_BY IN (:CREATED_BY) AND CLAIM_YEAR IN(:UW_YEAR) AND (LOSS_DATE) >To_Date('01/01/2014','mm/dd/yyyy')
    it worked perfectly.
    However if i try to put a date parameter "From" instead of 01/01/2014 it will not work, a Define Query Parameter popup window appear and error occurred after i fill
    the values (usually i shouldnt get this popup i should enter the value when i run the report)
    SELECT * FROM igeneral.GCL_CLAIMS where CREATED_BY IN (:CREATED_BY) AND CLAIM_YEAR IN(:UW_YEAR) AND (LOSS_DATE) >To_Date(:From,'mm/dd/yyyy')
    appreciate your assistance

    Hi Gorgo,
    According to your description, you have problem when in passing a parameter for running a Oracle Query. Right?
    Based on my knowledge, it use "&" as synax for parameter in Oracle, like we use "@" in SQL Server. In this scenario, maybe you can try '01/01/2014' when inputing in "From". We are not sure if there's any limitation for To_Date()
    function. For your self-testing, you can try the query in sqlplus/sql delveloper. Since your issue is related to Oracle query, we suggest you post this thread onto Oracle forum.
    Best Regards,
    Simon Hou

  • My Dell Inspiron runs Vista, and I cannot change the home pages on my browser

    I have a Dell Inspiron 530S running Vista. I updated Firefox to 5.0. I want to change the home page for one of the tabs. I change the tab to what I want, I go to Options - General - Use Current Page, and it seems to register. I then close Firefox and reopen it. When I do this, I get the old home page - not the one that was on the screen when I selected Options-General-UseCurrent Page on that tab.
    What do I do in order to have that tab come up with the page I want when I invoke Firefox?

    Make sure it says "'''Show My Home Page'''" in the first dropdown menu at the top before you try to change it.
    See also: [[How to set the home page]]

  • Imac running 10.5.8  cannot change the background wallpaper without rebooting

    I have 10.8.4.  Trying to change the background.  Will not change unless I reboot.   Any ideas

    Open Finder, select Go > Go to Folder, type ~/Library/Preferences and delete com.apple.desktop.plist

  • Query selection criteria - changing description field..?

    Hi Experts,
    i want to change description filed in user query selection criteria form..
    i have 3 fileds  :
    docdate - this filed i want to chage 'Document First'
    docdate - This filed i want to change 'Document Last'
    name -
    my problem: screenshot
    [Click Here|http://img638.imageshack.us/img638/3466/userqueris.jpg]

    The system always asks with the description of the field you refer to with the parameter variable in the select statement.
    I sometimes defined a UDT only for getting the appropriate title in the parameter entering window. The table has no data; I used it only for its field names.
    (The parameter request can be placed inside a comment and the entered value is used setting an SQL variable like this:
    declare @d datetime
    /*select t.createdate from ordr t where t.createdate=[%0]*/
    set @d=[%0]
    This SQL variable can be used later in the real query.)
    (But then you loose the possibility to choose from the u2018List of existing valuesu2019

Maybe you are looking for