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.

Similar Messages

  • 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

  • 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.

  • New form stuck in QUERY-ONLY mode

    I just developed a new screen and for some unknown reason, it runs only in QUERY-ONLY mode when launched from the developer. I have checked every preference and setting I can think of and nothing seems oout of order! This is only happening to this one screen, so I am at a loss. Any suggestions?

    send me the form if you can, as I have never seen problem like this in my 5 years of oracle

  • Query Only Mode Forms.

    This is my last port of call...
    Is there a SYSTEM variable or Form/Application property I can check to see if my form has been called with the query_only option set (from NEW_FORM and CALL_FORM).
    I can't find anything and if not, I'm going to have to use a global variable or a parameter.

    I'm still having problems here.
    If my code decides that the form should be called with no_query_only, but it's called from a form that has been called with query_only, the new form is called query_only.
    Things get even more confused on the way back out of the stack as at some point the access switches back from query_only to no_query_only, but my global variable still show query only!
    Forms knows that the it's in query only mode, why Isn't there a property to tell the developer?

  • Purchase Order form in Query only mode for some users

    Hi All,
    I want to make the Purchase Orders form as query only for a single user. I tried by giving 'Query_only=Yes' in the parameters section. I am getting 'FRM-04151: You cannot query records here' message more than 10 time. I know we get this message and this is applicable to all the users. But this message is comming more than 10 times.
    Is there anyway that I can restrict the Query only mode to a single user and please suggest about the message also.
    Thanks in Advance,
    Naresh

    Naresh,
    Since you want to achieve this for one user only, I would suggest you create a new function/menu/responsibility and assign this responsibility to the user.
    Note: 400380.1 - How To Create a QUERY-ONLY FORM
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=400380.1
    For the FRM error, please review the following document.
    Note: 116074.1 - ACCESS LEVEL - REVIEW ONLY - PO
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=116074.1
    Regards,
    Hussein

  • Purchase Orders form in Query Only mode for a single user

    Hi All,
    I want to make the Purchase Orders form as query only for a single user. I tried by giving 'Query_only=Yes' in the parameters section. I am getting 'FRM-04151: You cannot query records here' message more than 10 time. I know we get this message and this is applicable to all the users. But this message is comming more than 10 times.
    Is there anyway that I can restrict the Query only mode to a single user and please suggest about the message also.
    Thanks in Advance,
    Naresh

    Please post this question here: OA Framework
    There are so many special conditions and restrictions for E-Biz Suite that this forum is not the right place to ask these questions. The Apps forum at this location is the right place.

  • 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!

  • Calling another form in query only mode

    Dear all,
    Please clarify me which parameters to use while calling another form in query only mode in
    fnd_function.execute.
    Regards,
    Kiran

    Hi,
    According to standard doc:
    When you define a form function in the Form Functions window or call an existing form function using FND_FUNCTION.EXECUTE or
    APP_NAVIGATE.EXECUTE, you can add the string:
    QUERY_ONLY=YES
    to the string in the Parameters field or in the arguments string (using the other_params argument). This argument causes the form to be
    called in query–only mode. The FND_FUNCTION.EXECUTE procedure (which is also used by the Oracle Application Object Library
    Navigator) sets the QUERY_ONLY flag that sets all database blocks to non–insertable, non–updatable, and non–deletable.
    Hope it helps.

  • Query-only mode problem

    Hello everybody, I'm a new user on this forum and in this thread I wanted to inform you about my problem and its solution.
    Problem: everytime I created a form with 10g version on DB 9i, at the moment of "Run Form", I always run in this message "FRM-40208: Form running in query-only mode. Cannot change database fields.". Obviously I couldn't nor add a record nor edit it.
    After some days spent searching for a solution, on this forum I read a post by an user talking about a very similar prob but not properly the same. Anyway, I decided to write an email to RV, an italian user who was very helpful in that situation.
    In less than an hour, he wrote me back: "Check preference in menu forms builder, you'll find a tab, if checked it gives query only mode". He also write me to post the problem and his solution on the forum.
    This morning he wrote me several mails telling me in a rude manner that I didn't posted the problem and not to write to him anymore.
    So, I'd like to tell to Rosario: dear Rosario, I thank you for your solution, and I hope that in the future you will be so kind to give users also the time to write down the problem and solutions, as I am doing now.

    I would mean only you, even if it is not worth of it, the time to write an email you have found, while the time to share the information,as I had told you, with the other forum's users, you didn't have for it.
    And then,i tell again you not to write me more, and rather I add, for the first time, reformed of you to have answered you.
    Thanks for the lesson

  • Query-only mode

    I built a form using oracle developer 9i and when I tried to insert/update/delete record I get FRM-40208 form running in query-only mode. cannot change database field.
    although I checked the properties of Data block and it is query allowed, update allowed, delete allowed (all are set to true).
    I don't know what to do in order to allow 3 DML commands.
    thanks in advance

    Hello,
    if this form is called by CALL_FORM(), check the query_mode parameter which must be NO_QUERY_ONLY
    Francois

  • Query Only Mode (QOM)

    A form can be invoked in query only mode. My question is, once I am in a form that was invoked in query only mode, is there a built-in I can use to tell if the form is in QOM?
    Thanks for your help,
    Thomas Morgan

    Hi Peter:
    I agree 100%.
    You can place the following version in a library (pll) and
    invoke it from any form module:
      FUNCTION QUERY_ONLY_MODE RETURN BOOLEAN IS
        V_MSG_LEVEL VARCHAR2(10) := NAME_IN('SYSTEM.MESSAGE_LEVEL');
      BEGIN
        COPY('25', 'SYSTEM.MESSAGE_LEVEL');
        COMMIT;
        COPY(V_MSG_LEVEL, 'SYSTEM.MESSAGE_LEVEL');
        RETURN (ERROR_CODE = 40208);
      END;Thomas :)-<--<

  • Problem:Member is Read only Mode after login with other user

    Dear,
    I am facing problem to enter the data in member. i.e Read only. but same member is fine with login with admin user.
    I also assign the security with write permission to user. but the only that member "X" is in read only mode..
    Is task list can effect on that??? as i am also using task list. Becoz when i add another member that is not member of that hirechiary its fine.
    I am working on hyperion version 11.1.2.1..
    Regards,
    AMSI

    Thanks, Problem has been solved myself becoz when i add new member in the form as this form is already part of Planning Unit Hierarchy , that's why the newly added member in the form can't be write only till up to when u add this member into Planning Unit Hierarchy.
    Regards,
    AMSI

  • Restricting Negative Data Entry on Planning Forms

    Hi All,
    We are developing a classic planning Application using Hyperion 11.1.2.2. We came across a scenario where we want to restrict end user from entering Negative Financial Values on certain cells.
    Any ideas on how can this be achieved?

    1. Validation rules is just a rule and it will still save the data to essbase
    2. As Jake Turrell said, custom Javascript is maintenance overhead and it will not work after 11.1.2.2+ as they are all ADF
    3. You can try checking on Maintaining triggers on the essbase database and can track them / send mails to respective users. (rounndabout process)
    4. Use a BR that will pickup all the members on form and you can apply a conditional check to see if the data is negative using IF statement and then assign it to #Missing. Since, you would be using only those members on the form, it would be quick.
    Regards
    Amarnath
    ORACLE | Essbase

  • Tabbing and Data Entry Performance With Forms

    Hello,
    I am using Adobe Reader 11.0.2 on Windows XP. I've found that there is a lag between the time I hit the tab key to move between form fields and when my cursor actually moves between the form fields. I've also found that there is a lag between the time I type information into a form field and when the information actually appears in the form field. This is especially true with numbers. There have been times when I type numbers and only the first few numbers appear. I waited 30 seconds for the information to appear and it didn't, but as soon as I hit the right arrow on my keyboard, the numbers appear with my cursor at the end.
    I've tested the PDF in other readers to determine if it was the file, but I have found that other readers do not have this issue.
    Anyone have any thoughts on this?
    Thanks,
    Will

    Hi Sally,
    Yes you can define it at infoprovider level as well in planning application,If  you are  using IP then go infoprovider tab in RSPLAN Tcode,there you will see CR tab in lower panel - where you can specify characteristic relatioship and how to derive.
    Similarly you can use in BPS as well.
    Can refer to the link below for more details for IP:-
    http://help.sap.com/saphelp_nw70/helpdata/en/43/1c3d0f31b70701e10000000a422035/content.htm
    For BPS:-
    http://help.sap.com/saphelp_sem320bw/helpdata/en/ea/39a64281c611d5b3e50050dadfb23f/content.htm

Maybe you are looking for

  • Registering with one iTunes account and buying apps with another...

    Can you register a device to one account but purchase apps with another and if so...how can I do this?

  • New harddrive on my macbook (late 2008)

    I just purchased a macbook in very good condition. It had a failed hard drive so I replaced it. I tried installing snow leopard 10.6.3 with no luck. This is my first apple computer so disregard any ignorance I sincerely need help. I've tried partitio

  • What is the best strategy for sharing iPhoto libraries between two macs?

    I have an iMac and a new Airbook.  I want to keep my iMac as the"main" iPhoto location, but want to also keep copies of the photos on my Airbook.  I could copy the library from one to the other to get the photos into the Airbook initially, but then h

  • Change in the Rule in /801 not working

    Hello All, I want to make a change in the existing rule by including the company code logic which is my requirement. Current Rule is as below. In ZNP1 for /801, OUTWPPERSG,       (Employee Grp) RTE=TKSOLL RTE-TKAU11 RTE*KGENAU RTE/TKDIVI ADDWT * 3   

  • Adobe installer error code 201

    I have New Mac Pro Marvix OS, Downloaded adobe CC but while installing time get a popup window "adobe installer error code 201" and close the installation. Please suggest what needs to do forumnotifier