How to know that a form is running in query-only mode

I have a form that can run in query-only mode or non-query-only mode depending on the current user who logs in, and I want to change its apprearance dynamically when it's in different modes (for example, enable or disable buttons). Is there a built-in or system variable from which I know that the form is running in query-only mode or not?
Thanks,
Shu

The global variable solution is what we are using now. I thought there are some unpublished built-in or system variables. In my application, there is a public "menu" form from where hundreds of forms are CALLed with some in query-only mode and some in non-query-only mode depending on the current user role. :PARAMETER.QUERY_ONLY will always be 'NO' because the "menu" form is started in non-query-only mode. But it's good to know about it.
Thank you very much for your replies,
Shu

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!

  • RMI :- how to know that rmi registry is running or not using java code

    hi
    I want to know that how to check wather rmi registry is running or not by program in java
    plz any one reply

    Simple method - try to connect to it and see if you get an exception.
    Since the registry can be running on a remote machine, the only simple way
    is to try connecting.
    If the registry is running on a local machine you can also use OS tools (like "ps" on unix) to check whether the process is running, or network tools (e.g. netstat) to check whether it's listening on its TCP/IP port.
    Genady

  • Is The Current Called Form Running in Query Only Mode?

    How can identify the current called form is running in either QUERY_ONLY / NO_QUERY_ONLY MODE progrmatically?

    You can use :system.form_status to check for this. Be aware that this can change quite frequently throughout navigational processes both visibly and "behind the scenses"
    n

  • How to know , that an index is used in query in the program

    Hi All
    I have found a SELECT query within a program , which needs to be tuned. I need to justify client of my change. He wants to know how many indexes are there used in the select , as well as which indexes are partially used and how we can optimize use of indexes,
    I did an trace analysis of program using ST05, however I am not getting to know which index is used in this trace analysis.
    I need help on these points from you all.
    Thanks in Advance
    Amol

    Hi
    After clicking DDIC information
    I am getting 3 buttons on the top, and below I am getting
    Overview of View WB2_V_MKPF_MSEG2
    Obj. name                   WB2_V_MKPF_MSEG2
    SQL Object                  WB2_V_MKPF_MSEG2
    Table Type                  VIEW
    Buffering                   Buffering not allowed
    Short Text                  Data Selection from Material Documents (without WBGT)
    Classification                         Other
                                           Other
                                           Trading Execution Workbench
    Author                      SAP
    Last Changed By             Not Found
    NametabRec.Length                 2436 Byte
    Last DB Analysis            00/00/0000
      No. of records                     0
    All Table Indexes of View                WB2_V_MKPF_MSEG2
      Name   Description                                                    Created by     Unique
      Indexes of  MKPF
      0      Primary key                                                    SAP            X
      BUD    Index for posting date                                         SAP
      Y      Fiscal Year, Posting date and Doc. number                      AJOSHI
      Indexes of  MSEG
      0      Primary key                                                    SAP            X
      M      Material documents for material                                SAP
      R      Material docs for reservation                                  SAP
      S      Reversal documents for mat. document                           SAP
    However from above I am not getting which index is being used or not. OR which is used fully or partially .. like that,
    I need to know these details
    Thanks in Advance
    Amol

  • Data entry form problem - form in query-only mode

    Hi there,
    I am trying to create an data entry form to insert recordacross 2 out of 3 tables. The last of the four tables already have details and does not need to have record inserted into.
    This is the scenario, my four tables are Factory, Employee, Works_in. Works_in resolves a many to many relationship between Factory and Employee
    Now for a person to be employed in a factory, he must be assigned to a factory.
    I have a list of factories already in the database. After choosing a factory from the database, I want to insert records to do with his Fname, Lname, Hiredate bla, bla, bla to the Employee table.
    I have a single form with Factory as the master, and 2 tabs each for Employee and Works_in.
    After linking all my tables with the ability to choose a factory first on the master form from a combo box and after inserting records into the other forms, it says form running in query-only mode.
    What do you think?
    Many thanks in advance.
    Cube60

    I think that's too much of the wrong information.
    It sounds like you have multiple forms. Are they Modal or Non-Modal?
    What code do you use to call the form that's not working?
    Does it work initially and then stop working?
    James.

  • Called form in query only mode shows messages....

    Hi All,
    I am calling a form (say B ) in query only mode from a main form (say A) . When i query the called form B , i get 5-6 alerts (which has to be acknowledged by the user) and messages of the same error type saying :
    "FRM-40208 : Form running in query only mode . Cannot change database fields. "
    I have a 100 forms to be called from the main form A. So, I prefer not to change anything in the called forms . I tried to set message_level in the form A and code the on-error / on-message triggers to avoid the messages being shown, but nothing is working . Is there anything I can do in Form A i.e the main form ???
    Thanking you in advance.

    Since the error messages are being generated by form B, it is unlikely you will be able to fix form B problem using form A. Unfortunately, you may have to fix each of the 100 called forms.

  • You sent me a notice letting me know that adobe forms central will not continue any more. What tool will replace it? How can I continue creating forms? Thanks for your responses.

    You sent me a notice letting me know that adobe forms central will not continue any more. What tool will replace it? How can I continue creating forms? Thanks for your responses.

    Hello Chalo,
    There are many FormsCentral alternatives. Our solution, JotForm, has the most complete Import Wizard both for your forms and for your response database.
    http://www.jotform.com/formscentral/

  • How to know that URL is currenty open into other Group Tab feature ?

    Hello Firefox team,
    I use a group tab features (CTRL+SHIFT+E) and I have open many URLs in many group tab's. This URLs are on one domain because I work on one SupportTeam website and all cases/tickets have different URLs.
    I don't know that I open a duplication tab (cases/ticket) who is open in other tab or on tab in other group tab.
    How to know that URL whom I open is a duplication?.
    Best Regards
    Marcin Przysowa

    I upgrade FF to 10.0 version. The situation is the same.
    For me some information bar is perfect like:
    This URL is open in $grouptab_name.
    By click into that hint I should be jump to older tab in $grouptab_name.

  • How to know that item is serially controlled or not ?

    Hi,
    How to know that the ordered item is serially controlled or not ?
    In which tables we have refere to know that ?
    Thanks

    --If the item is only serial number controlled and not lot number controlled
    select serial_number from mtl_unit_transactions a, mtl_material_transactions b, wsh_delivery_details c
    where a.transaction_id=b.transaction_id
    and b.trx_source_line_id=c.source_line_id
    and c.source_header_number=&order_number
    and b.transaction_type_id=33 --34 if it is internal order shipments
    OR (If it is lot and serial number controlled)
    select serial_number from mtl_unit_transactions a, mtl_material_transactions b, wsh_delivery_details c, mtl_transaction_lot_numbers d
    where b.transaction_id=d.transaction_id
    and a.transaction_id=d.serial_transaction_id
    and b.trx_source_line_id=c.source_line_id
    and c.source_header_number=&order_number
    and b.transaction_type_id=33 --34 if it is internal order shipments
    Thanks
    Nagamohan

  • I forget my icloud passport. so i can't unlock my phone. how to know that passport

    I forget my icloud passport. How to know that passport ?

    Sorry, not understanding what it is you are asking. Your iCloud password is the same as your Apple ID password. If you are attempting to restore the device and you are on the Activation Lock screen, you must supply the iCloud/Apple ID password before you can proceed:
    ACTIVATION LOCK
    Find My iPhone Activation Lock: Removing a device from a previous owner’s account - Apple Support
    Cheers,
    GB

  • In which way i can know that a job is running In background or foreground?

    Hi,
       In which way i can know that a job is running In background or foreground? please tell me...
    or a report is in background or foreground..
    Thanks ,
    Arya

    check tranx sm37 to know all background job details
    refer link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a8009505211d189550000e829fbbd/frameset.htm

  • How to know that iphone 4 is locked??, How to know that iphone 4 is locked??

    How to know that iphone is locked or unlocked ?
    In my case when I put the sim card of SK telecom the iphone display the carrier of SK telecom and when I replace the sim card with KT then it displays the carrier with KT telecom in the settings.
    Does that mean my iphone is unlocked and it is  carrier free?
    In my case these both sim are expired so they dont show any networks.
    They just display "Searching " and then "No service" but in the carrier section (settings) it displays the corresponding telecoms and the phone numbers.
    So is it unlocked phone.
    If it is unlocked phone then I was thinking o use a mini sim card(SK telecom) in it which is not expired by cutting it into micro sim card .Will it work ?
    Help me !!!

    dipencha wrote:
    How to know that iphone is locked or unlocked ?
    The ONLY way to know for sure whether your phone is officially unlocked or not is to have purchased your phone from an official source that sells officially unlocked iPhones. If you did so, you have nothing to worry about. If you did not purchase from an official source, well...you take your chances and hope for the best. Many phones, from non-official sources, advertised as "factory unlocked", are in fact hacked to unlock them.

  • How do know that the battery is fully charged on ios 7

    How do know that the battery is fully charged on ios 7

    When you turn it on from sleep mode, below the time on the lock screen it says how much charged it is.

  • How to know that my cache is disttributed (i mean partitioned or replicated

    How to know that my cache is distributed or replicated.. if it is not distributed then how can we make it as distributed(where do we need to change.)
    Thanks
    --Krishna..                                                                                                                                                                                                                                                                                                                                                                       

    Krishna -
    Cache type is configured by the server side (cluster side) cache configuration file within a <caching-scheme-mapping> <cache-mapping> element.
    The <scheme-name> element specifies either a <distributed-scheme> (for Partitioned) or <replicated-scheme> <caching-scheme> named element.
    A client side configuration file references the <cache-name>.
    I do recommend working through the Coherence Tutorial:
    http://download.oracle.com/docs/cd/E18686_01/coh.37/e18692/toc.htm
    Regards,
    /Mark J
    Oracle Coherence

Maybe you are looking for

  • Macbook will not come on.

    I was just on my macbook this morning, and shut it down properly when I was finished. However, it will now not power back up. When plugged into the adapter, the hook up lights up and the battery is charging. When I remove the adapter and press the bu

  • RFC Debugging

    Hi Experts, I have done GOOGLE for How to debug Remote FM. Have found many links and methods of doing so. But unfortunately none of them help me to debug Remote FM. Links Like : How to Debug SAP RFC , background job , update FM etc.. &laquo; SAP Igni

  • WLC Not Monitoring AP Status Correctly?

    My 8510 HA pair running 8.0.110.0 doesn't seem to be monitoring the AP status properly. If an AP goes down or is otherwise taken off line, the total number of AP's on the Summary page drops by 1. It should show the same number of Total APs with the n

  • Implementing /modifying photoswipe code to work in Edge

    Hey all, I am trying to implement photoswipe (http://www.photoswipe.com/) into Edge, specifically linking it into a div, so that I can have pinch/zoom control over images within the div.  The problem I have is that I'm not JQuery savvy, so I just can

  • PSE 12 reimport to LR 5 trouble

    Hi, I exported a photo from LR5 to PSE 12, and made a few adjustments to the image. However, upon completion and saving the image, it does not automatically re-import to LR 5. My PS CS5 used to after I was finish editing a photo. Please help. Thanks!