Query_only and no_query_only

Hi
How do I know when I am in a called form that this form was called in query_only or no_query_only mode? Is there a property that one can retrieve? I need to determine this in a when-new-form-instance trigger.
Thanks
Francois

Not to worry -- I used the 'elegant' solution found elsewhere on this forum. It boggles the mind that one has to go to that length to get a simple thing like that.
Francois

Similar Messages

  • Query_only and normal mode issue

    a form, consists of 5 columns from a data block is been called from a menu where it decides it should be query_only mode or noraml mode. my issue is query_only mode out of five only three are getting displyed whereas in normal mode all the five columns are getting displayed. any suggestion are really grateful.

    i did find that if i created an non database item then
    the form is working fine in query_only mode.This indicates only ambiguity,So strange and unlogical..
    we had inputs for ur problems that
    a form, consists of 5 columns from a data block is been called from a menu >where it decides it should be query_only mode or noraml mode
    The problem is..
    query_only mode out of five only three are getting displayed whereas
    in normal mode all the five columns are getting displayedu must missing something u didn't mention like:
    Is this Form Master-detail or Multi-records form .. i really don't know have
    no comment..!
    Waiting for a clarification from u..
    May be u r trying to call a detail form without it's parent so something is broken with the relation.
    Try to find out r the 2 columns that don't displayed r foregin key for example..!
    even i am not convincing with what i am saying but sometimes happen..! due to the logical is unknown for us..!
    Regards,
    Abdetu..

  • How to find query_only and standard functions (AOL)

    Hi,
    There are many functions which are attached to menus and which inturn are attached to responsibility.
    Also, we can have a function view only by creating the same function by entering QUERY_ONLY="YES" in parameter.
    For ex:- I have a function called "Customers Standard" by which you can create customers. I can create another
    function using the same form and make it query only by entering QUERY_ONLY="YES" in the parameters column.
    My question is, I want to know for which responsibilities i have this query_only function attached and for
    which reponsibilities i have this normal standard function is attached to. If it is Query_only, then i want
    to populate a comment saying " Query Only Customer" and if not then populate with " Standard Customer Function".
    I wrote a query which displays all the menus, sub-menus and user-function-names for all responsibilities. But
    i need to populate another column with this "Query-only" or "Standard Customer" by checking the parameter values.
    Like this, i need to check for all like "customer" , "invoices", "order entry", "vendors" etc etc.
    If it is hard to understand my problem, to make it simple, " A query to Display all the menus, sub-menus, sub-sub-menus,
    user-function-names for all menus, sub-menus, sub-sub-menus for all reponsibilities. After writing this query,
    I want to populate one more column in which i want to display whether it is query_only or not_query_only."
    Help Appreciated
    Thanks

    Hi Adwinn,
    Do you have any query for this.
    For ex:- for AR reponsibility, the screen looks like this:-
    -Transactions
         Batches
         Batches Summary
         Transactions Summary
         Credit Transactions
    -Receipts
         Batches
         Batches Summary
         Receipts
         Receipts Summary
         Remittances
         Remittances Summary
    -Lockbox
              Transmission History
              Maintain Transmission Data
    -Collections
         Scheduler
         Customer Calls
         Customer Account
         Account Overview
         Aging
         Correspondence
    -Customers
         Standard
         Quick
         Summary
         Profile Class
         Merge     
    and so on.....
    In this, there are may be query_only functions created and attached to these menus. I need a report which shows me all the menus, sub-menus, sub-sub-menus and tell whether that is standard or query_only with that prompt description.
    for ex:- output:-
    AR reponsbility | AR_NAVIGATE_GUI | Customers | Standard | Customers-Standard-Query Only
    help appreciated
    thanks

  • Control access of a form from another form.

    hi all,
    Please help me .
    This is a system which contains a lot of forms (more than 100) . The system administrator can specify whether a user can insert, update,delete or query for each form (this varies for each user). So, when a user logs in and calls a form i have to enable / disable the insert, update,delete or query according to the user who has logged in and the privileges the system administrator has given for that form.
    i used the call_form method with query_only mode and no_query_only(normal mode) option . The normal mode allows insert,update,delete and query together but i want the user to insert into database without querying any of the records.
    So, in short , i would like to know if i can enable/disable insert,update,delete & query of a called form(Form B) from calling form (Form A) without having to modify (Form B) and without issuing any grant statements in the database side ? Is there any option like the one in the call form method?
    Thanking you in advance.

    Thank you very much for the response.
    yes, set form property and set block property can be used when i want to enable / disable insert in the current form. But, what if i want to control enable/disable insert from another form (the main form) ????
    Can i pass parameters ? without making any change in the current form.

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

  • Work around query_mode inheritance

    I have FormA call_form to FormB. FormB may be in QUERY_ONLY mode.
    Then FormB needs to go to FormC which may need to be in NO_QUERY_ONLY, regardless of the query_mode of FormB.
    FormA (no_query_only)
          FormB (query_only)
               FormC (no_query_only)Call_form and open_form inherit the query_mode. Not sure why the parameter is there... New_form disrupts the navigation, but appears to be my only option. Is there another way to accommodate this and keep the navigation trail?
    Thank you.

    Call_form:-
    CALL_FORM loads the indicated form while leaving the calling form
    loaded. For example, when Form A calls Form B, Form B becomes the
    active form in the session, but Form A remains in memory. If the
    operator exits Form B, Form A again becomes the active form. Form B,
    in turn, can execute the CALL_FORM procedure to invoke Form C.
    When successive forms are loaded via the CALL_FORM procedure, the
    resulting module hierarchy is known as the call form stack.
    When a form calls another form with CALL_FORM, the called form is
    modal with respect to the calling form. Windows that belong to the
    calling form are disabled, and operators cannot navigate to them until
    the operator exits the called form.
    Restrictions on Calling Forms At this point in the example, there are
    three active, navigable forms (E, C, and D), and two disabled,
    non–navigable forms (A and B). Any attempt to navigate
    programmatically to Form A or Form B will raise an error.
    Together, Form A, Form B, and Form E represent the current call form
    stack in the application. If Form C attempted to call a form with
    CALL_FORM, an error would occur because of the restriction that an
    open form cannot issue a CALL_FORM when there is an existing stack
    of called forms that was initiated by another form.
    When you call a form by executing the built–in procedures
    CALL_FORM or NEW_FORM, you can specify whether the called form
    should run in normal mode or query–only mode. A form in query–only
    mode can query the database but cannot perform inserts, updates, or
    deletes.
    You specify the query mode for a called form by supplying the
    appropriate constant for the query_mode parameter in the CALL_FORM
    or NEW_FORM argument list. Valid constants are NO_QUERY_ONLY
    (normal mode) and QUERY_ONLY.
    For example,
    Call_Form(’form_B’,NO_HIDE,NO_REPLACE,QUERY_ONLY);OR
    New_Form(’form_B’,TO_SAVEPOINT,QUERY_ONLY);
    Note: Oracle Forms runs any form called from a form in query–only
    mode as a QUERY_ONLY form, even if the CALL_FORM or
    NEW_FORM syntax specifies that the called form is to run in
    NO_QUERY_ONLY (normal) mode.
    If its Correct/helpful please mark it thanks.
    sarah

  • How to check Forms module QUERY_ONLY ???

    Hi,
    it is possible to check the state of the Foms module :
    QUERY_ONLY | NO_QUERY_ONLY inside (e.g. in the PRE-FORM-T)
    to set | reset module functions ?
    Thanks
    Friedhold

    It is a hidden property.
    You can simulate the state with
    TOOLS | PREFENRCES | Rider Runtime | Query_only_mode = YES
    and if you try to Insert in a db-block item you get:
    FRM-40208: Forms running in query-only mode. Cannot change database fields -
    is this error the only check event ?
    Thanks
    Friedhold

  • Problems installing the new 'Look And Feel' done by Francios Degrelle

    I have download the new verison of the new 'Look And Feel' from
    http://sheikyerbouti.developpez.com/forms-pjc-bean/LAF/sources/v133/LAF_133.zip
    1- I defined a new section in formsweb.cfg named summit in the middle tier (AS 10g Rel2):
    [Summit]
    baseHTML=base.htm
    baseHTMLjinitiator=basejpi.htm
    baseHTMLjpi=basejpi.htm
    baseHTMLie=baseie.htm
    HTMLdelimiter=%
    workingDirectory=e:\app\summit
    envFile=default.env
    IE=JInitiator
    escapeparams=true
    form=customers_laf
    debug=no
    otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% obr=%obr% query_only=%query_only% quiet=%quiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log% term=%term% useSDI=yes
    buffer=no
    debug_messages=no
    array=no
    obr=no
    query_only=no
    quiet=yes
    render=no
    pageTitle=Summit
    serverURL=/forms/lservlet
    codebase=/forms/java
    imageBase=DocumentBase
    width=100%
    height=100%
    separateFrame=false
    splashScreen=no
    lookAndFeel=oracle
    colorScheme=blue
    logo=no
    restrictedURLparams=HTMLbodyAttrs,HTMLbeforeForm,pageTitle,HTMLafterForm,log,allow_debug,allowNewConnections
    serverApp=default
    archive_jini=frmall_jinit.jar
    archive=frmall.jar,laf.jar
    WebUtilArchive=
    jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_09/index.html
    jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93
    jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#Version=1,4,0,0
    2- then I put a copy of the file 'forms.css' in the middle tier in the folder :
    apache\apache\htdocs
    so as to be on the path and then modified PM$CSS_FILENAME in all forms to be 'forms.css' instead of 'c:\forms.css' and recompiled.
    3-I put a copy of the file 'laf.jar' in the folder : 'd\Ora_AS\forms\java' in the middle tier and added this path to the classpath environment variable.
    4- I restarted the middle tier and wrote this URL:
    http://test/forms/frmservlet/config=summit
    the customers form opened but with no background images,I added the following to the URL '&form=test_laf_color_scheme.fmx',the form opened with the default color scheme to 'purple',I changed it from a drop down list to orange and all buttons background color degraded to orange.
    My questions:
    1-where are the background images ?
    2- I cannot compile the 'laf.pll' file to 'laf.plx',when I compile I get this error:
    FRm-91507 -internal error
    P.S. I read this thread :
    FRM-91507 when compiling a library with Forms 6i
    and I didn't understand it,where do I change the Forms_Path? in the forms Home release 1 or Forms home release 2?!!!
    3-Is the 'forms.css' file properly located? if not? where do I put it?
    Sorry for the long scenario but I'm really confused?
    Thanks
    Mohammad

    Hello,
    I'm curently out of everything so I cannot answer this one. All I can tell is that images are read from the client machine or jar file. If you want read images from the application server, you need the http:// syntax.
    Francois

  • [SOLVED] Forms Web - Works on IE and Chrome, firefox says it misses plugin

    Greetings,
    Both in IE and Chrome it works perfectly i open the Gin client through the same URL, ex: http://10.0.0.28:7778/forms/frmservlet?config=gin4
    However if i try the same URL in firefox it shows a big grey square in the page saying "Click here to download Plugin"
    Clicking instal it opens a small popup saying no suitable plugins were found, inside it says and Unknown Plugin (text/html) and a button to installs manually appears.
    Clicking on that button i am taken to this page: http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
    I have lost track on the number of times i have installes uninstalled and reinstalled a lot of java versions not just the 1.4.2_06 version.
    I have been trying to fix this problem for a couple of months now with no luck.
    Here is the Source code from the html page, its the same for every browser since its the same url:
    <HTML>
    <!-- FILE: webutiljpi.htm (Oracle Forms) -->
    <!-- -->
    <!-- This is the default base HTML file for running a form on the -->
    <!-- web using the JDK Java Plugin. This is used for example when -->
    <!-- running with Netscape on Unix. -->
    <!-- and a certificate regsitration applet for the WebUtil utility -->
    <!-- -->
    <!-- IMPORTANT NOTES: -->
    <!-- Default values for all the variables which appear below -->
    <!-- (enclosed in percent characters) are defined in the servlet -->
    <!-- configuration file (formsweb.cfg). It is preferable to make -->
    <!-- changes in that file where possible, rather than this one. -->
    <!-- -->
    <!-- This file uses several extra tags that are not present in the -->
    <!-- default template files. You should ensure that these are -->
    <!-- present in the configuration that uses this template -->
    <!-- The extra substitution Tags are: -->
    <!-- frmwebutil.jar, jacob.jar = jar file containing the WebUtil code -->
    <!-- (by default this should be frmwebutil.jar) -->
    <!-- off = Defines the current logging mode. -->
    <!-- Valid values: off|on|console|server|all -->
    <!-- (on == console) -->
    <!-- normal = Specifies the level of error logging.-->
    <!-- Valid values: normal|detailed -->
    <!-- Alert = Should errors be displayed in an alert -->
    <!-- as well as the programmer defined -->
    <!-- locations -->
    <!-- Valid values: console|server|alert|all -->
    <!-- 5 = Counts in second to -->
    <!-- indicate how often the monitor thread -->
    <!-- checks to see if the Forms session is still-->
    <!-- alive. Used with the WebUtil_Session -->
    <!-- package. -->
    <!-- true = Should intranet without domain suffix-->
    <!-- be trusted. -->
    <!-- Valid values: true|yes|false|no -->
    <!-- 16384 = Size in bytes of file transfer -->
    <!-- segments. Default and maximum allowed is -->
    <!-- 16384, i.e. 16K. -->
    <HEAD><TITLE>GIN - Gestao Integrada do Negocio - WebUtil</TITLE></HEAD>
    <BODY >
    <COMMENT id="forms_plugin_info"
    plug_ver="clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA"
    appheight="800"
    appwidth="900"
    appcodebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06">
    </COMMENT>
    <!-- Forms applet definition (start) -->
    <NOSCRIPT>
    <OBJECT classid="clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA"
    codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06"
    WIDTH="900"
    HEIGHT="800"
    HSPACE="0"
    VSPACE="0">
    </NOSCRIPT>
    <SCRIPT LANGUAGE="JavaScript" SRC="java/forms_ie.js"></SCRIPT>
    <PARAM NAME="TYPE" VALUE="application/x-java-applet;jpi-version=1.4.2_06">
    <PARAM NAME="CODEBASE" VALUE="/forms/java">
    <PARAM NAME="CODE" VALUE="oracle.forms.engine.Main" >
    <PARAM NAME="ARCHIVE" VALUE="frmall.jar, ginico4.jar, laf.jar,formsmagnifier.jar,formsmagnifier10123.jar,handleimage3.jar,fjtable.jar,frmwebutil.jar, jacob.jar" >
    <PARAM NAME="serverURL" VALUE="/forms/lservlet?ifcfs=/forms/frmservlet?config=gin4&acceptLanguage=en-US,en;q=0.8">
    <PARAM NAME="networkRetries" VALUE="30">
    <PARAM NAME="serverArgs"
    VALUE="escapeParams=true module=GINFS001.fmx userid= sso_userid=%20 sso_formsid=%25OID_FORMSID%25 sso_subDN= sso_usrDN= debug=no host= port= buffer_records=no debug_messages=no array=no obr=no query_only=no quiet=yes render=no record= tracegroup= log= term=/orasoft/OraHome_1/forms/admin/resource/US/fmrpcweb.res UTI= PASS= IDIOMA= ADMGIN=admgin PM$CSS_FILENAME=/gin/gin4/exe/forms.css">
    <PARAM NAME="separateFrame" VALUE="true">
    <PARAM NAME="splashScreen" VALUE="no">
    <PARAM NAME="background" VALUE="FUNDO.jpg">
    <PARAM NAME="lookAndFeel" VALUE="oracle">
    <PARAM NAME="colorScheme" VALUE="blue">
    <PARAM NAME="serverApp" VALUE="default">
    <PARAM NAME="logo" VALUE="REMATE_MENU.gif">
    <PARAM NAME="imageBase" VALUE="codebase">
    <PARAM NAME="formsMessageListener" VALUE="">
    <PARAM NAME="recordFileName" VALUE="">
    <PARAM NAME="EndUserMonitoringEnabled" VALUE="">
    <PARAM NAME="EndUserMonitoringURL" VALUE="">
    <PARAM NAME="heartBeat" VALUE="">
    <PARAM NAME="WebUtilLogging" VALUE="off">
    <PARAM NAME="WebUtilLoggingDetail" VALUE="normal">
    <PARAM NAME="WebUtilErrorMode" VALUE="Alert">
    <PARAM NAME="WebUtilDispatchMonitorInterval" VALUE="5">
    <PARAM NAME="WebUtilTrustInternal" VALUE="true">
    <PARAM NAME="WebUtilMaxTransferSize" VALUE="16384">
    <COMMENT>
    <EMBED SRC="" PLUGINSPAGE="http://java.sun.com/products/archive/j2se/1.4.2_06/index.html"
    TYPE="application/x-java-applet;jpi-version=1.4.2_06"
    java_codebase="/forms/java"
    java_code="oracle.forms.engine.Main"
    java_archive="frmall.jar, ginico4.jar, laf.jar,formsmagnifier.jar,formsmagnifier10123.jar,handleimage3.jar,fjtable.jar,frmwebutil.jar, jacob.jar"
    WIDTH="900"
    HEIGHT="800"
    HSPACE="0"
    VSPACE="0"
    serverURL="/forms/lservlet?ifcfs=/forms/frmservlet?config=gin4&acceptLanguage=en-US,en;q=0.8"
    networkRetries="30"
    serverArgs="escapeParams=true module=GINFS001.fmx userid= sso_userid=%20 sso_formsid=%25OID_FORMSID%25 sso_subDN= sso_usrDN= debug=no host= port= buffer_records=no debug_messages=no array=no obr=no query_only=no quiet=yes render=no record= tracegroup= log= term=/orasoft/OraHome_1/forms/admin/resource/US/fmrpcweb.res UTI= PASS= IDIOMA= ADMGIN=admgin PM$CSS_FILENAME=/gin/gin4/exe/forms.css"
    separateFrame="true"
    splashScreen="no"
    background="FUNDO.jpg"
    lookAndFeel="oracle"
    colorScheme="blue"
    serverApp="default"
    logo="REMATE_MENU.gif"
    imageBase="codebase"
    recordFileName=""
    EndUserMonitoringEnabled=""
    EndUserMonitoringURL=""
    heartBeat=""
    WebUtilLogging="off"
    WebUtilLoggingDetail="normal"
    WebUtilErrormode="Alert"
    WebUtilDispatchMonitorInterval="5"
    WebUtilTrustInternal="true"
    WebUtilMaxTransferSize="16384"
    >
    <NOEMBED>
    </COMMENT>
    </NOEMBED></EMBED>
    </OBJECT>
    <!-- Forms applet definition (end) -->
    </BODY>
    </HTML>
    Any help is appreciated.
    Best regards,
    Igor Carrasco

    In the Java plugins i see :
    Java(TM) Platform SE 6 U20
    File: npjp2.dll
    Version: 6.0.200.2
    Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    MIME Type      Description      Suffixes
    application/x-java-applet      Java Applet      
    application/x-java-bean      JavaBeans      
    application/x-java-vm           
    application/x-java-applet;version=1.1.1           
    application/x-java-bean;version=1.1.1           
    application/x-java-applet;version=1.1           
    application/x-java-bean;version=1.1           
    application/x-java-applet;version=1.2           
    application/x-java-bean;version=1.2           
    application/x-java-applet;version=1.1.3           
    application/x-java-bean;version=1.1.3           
    application/x-java-applet;version=1.1.2           
    application/x-java-bean;version=1.1.2           
    application/x-java-applet;version=1.3           
    application/x-java-bean;version=1.3           
    application/x-java-applet;version=1.2.2           
    application/x-java-bean;version=1.2.2           
    application/x-java-applet;version=1.2.1           
    application/x-java-bean;version=1.2.1           
    application/x-java-applet;version=1.3.1           
    application/x-java-bean;version=1.3.1           
    application/x-java-applet;version=1.4           
    application/x-java-bean;version=1.4           
    application/x-java-applet;version=1.4.1           
    application/x-java-bean;version=1.4.1           
    application/x-java-applet;version=1.4.2           
    application/x-java-bean;version=1.4.2           
    application/x-java-applet;version=1.5           
    application/x-java-bean;version=1.5           
    application/x-java-applet;version=1.6           
    application/x-java-bean;version=1.6           
    application/x-java-applet;jpi-version=1.6.0_20           
    application/x-java-bean;jpi-version=1.6.0_20           
    and this also:
    Java Deployment Toolkit 6.0.200.2
    File: npdeployJava1.dll
    Version: 6.0.200.2
    NPRuntime Script Plug-in Library for Java(TM) Deploy
    MIME Type      Description      Suffixes
    application/java-deployment-toolkit           
    Plus a lot more plugins not from Java.
    Best regards

  • Frm-47023 no such parameter named query_only exist

    Hi Everyone,
    I am creating a simple form, I just put a textbox on the canvas throug layout editor.
    and run the form,it gives the error frm-47023:no such parameter QUERY_ONLY exists in form moudle1.
    I click the ok button of alert box , it gives - frm-47023: no such parameter named QUIET exists in form module1.
    I am facing this type of error recently, it was working very well earlier. I am not creating any parameter in this form.
    Yes if I create a dummy parameter namely query_only, quiet, it works fine.
    Initially I thought there may be virus issue, but I formatted my machine. I still get the same error.
    your help urgently requird.
    thanks in advance.
    thanks/regards
    jitendra
    Message was edited by:
    user510185

    Thanks a lot Herbert for your prompt reply. I am using oracle forms 6i (6.0.8.8.0 Production).In preference - runtime, quiet mode and query only mode is not checked.
    array processing,optimize sql processing,optimize transaction mode processing is checked, other options are unchecked.
    Still I could not figure out what the problem is .
    thanks/rgds
    jitendra

  • Composite Application with a Task Flow and form created manually

    Hi,
    I'm using Oracle SOA Suite 11G and i'm trying to create a task form for a human task without using the auto generate wizards and i'm having trouble getting the form to show in BPM worklist.
    I have followed instructions in the developers guide to create the form against the human task including the following
    27 Designing Task Forms for Human Tasks
    27.4.3 How To Create a Task Form Using the Complete Task with Payload Drop Handler
    27.8 Deploying a Composite Application with a Task Flow
    After i deploy and test, the task appears and works correctly in BPM worklist, but the form does not show. This is when i have the task form within a composite application or in a separate project. When i generate the form automatically using the wizards, this all works fine.
    Updated: Noticed that when i create the task form manually and deploy it does not create entries as per instructions
    20.3 Managing the URI of the Human Task Service Component Task Details Application
    I have the details in hwtaskflow.xml, but for some reason, they are not automatically created... It is annoying to have this created each time...
    Am i missing something? I don't see any errors in BPM worklist or on the server. Any advice would be appreciated.
    Thanks
    Edited by: user5535771 on Mar 12, 2010 5:01 PM

    Hi Duncan,
    Thanks for your reply.
    The later option of not using Query_Only would involve massive custmizations, as there are so many forms apart from the absence forms.
    There is just one taskflow that contains the person, assignment, Absence and SIT screen, how can we do like an standalone absence screen does not have tehe query only as Yes.
    Please let me know in case you dint get me i will mention my development steps in points.
    Many Thanks,
    Vineet

  • New in Oracle forms and I need help

    Good afternoon to all of you.
    I need a help for my problem. I have 7 tables and i create a form with 7 blocks in oracle 10g. The items are lists and text items. I am trying to choose a value from the list or write something into the text items and i have a message
    FRM-40200: Form is protected against update
    and FRM-40208 : Form Running in Query Only Mode. Can Not Change. Database Field.
    Please can anybody help me!!!

    When you create the block, i recomend you to use the Wizard. The Wizard creates the block automatically and it works well, you will not find these problems that you are facing.
    Maybe the reasons for problem is:
    - You set the property "UPDATE_ALLOWED "of the block/item to "NO", set to "YES";
    - You set the property "INSERT_ALLOWED "of the block/item to "NO", set to "YES";
    - You set the property "QUERY_ONLY"of the block/item to "YES", set to "NO";

  • Call form and execute query there

    hi
    i have already one form and i created another form with one text-item named Code(non-base item) and i want when i enter number and click on button and it execute all records in main form with the same code which one i enter in sub form.is it possible if its possible plz guide me thanks in advance
    sarah

    Hi!
    From the main form call the sub form with the call_form build-in like this:
    begin
    default_value ( null, 'global.code );
    call_form ( 'sub_form', no_hide, no_replace, no_query_only );
    if
      :global.code is not null
    then
      go_block ( 'your_block' );
      set_block_property ( :system.cursor_block, onetime_where, 'code = :global.code' );
    end if;
    erase ( 'global.code' );
    go_item ( :system.trigger_item );
    end;In the sub form write to your when-button-pressed trigger:
    begin
    :global.code := :your_block.code;
    exit_form ( no_validate );
    end;Hope that helps
    Edited by: Magoo on 30.08.2009 17:46
    Edited by: Magoo on 30.08.2009 17:59

  • Is there any default calendar which I can use on my form and report

    Hi All,
    Is there any default calendar which I can use on date field on my form and report.
    just by change its property like double click on date field and property calendar = yes
    or any other way.
    thanks
    mohan

    hi
    create a functions something like this.i hope it helps u.
    function call_calender ( f_dtm_set in date default sysdate ) return date is
    l_dtm  date;
    l_list paramlist := get_parameter_list ( 'CALL_CALENDER' );
    begin
    if
      not id_null ( l_list )
    then
      destroy_parameter_list ( l_list );
    end if;
    if
      trunc ( f_dtm_set ) != trunc ( sysdate ) --> if you call the calendar function with a date, the calendar will change to that date
    then
      l_list := create_parameter_list ( 'CALL_CALENDER' );
      add_parameter ( l_list, 'DTM_SET', text_parameter, to_char ( f_dtm_set, 'dd/mm/yyyy' ) );
    end if;
    copy ( null, 'global.calender_date' ); --> create a null global
    call_form ( 'form_name', no_hide, no_replace, no_query_only, l_list );
    if
      not id_null ( l_list )
    then
      destroy_parameter_list ( l_list );
    end if;
    if
      name_in ( 'global.calender_date' ) is not null  --> if the global is not null, give the choosen item back
    then
      l_dtm := to_date ( name_in ( 'global.calender_date' ), 'dd/mm/yyyy' );
    end if;
    erase ( 'global.calender_date' );
    return ( l_dtm );
    end;sarah

  • Form9i about username and password in URL

    hi all
    i need to hide the user name and password that comming in URL
    "http://192.168.1.100:8888/forms90/f90servlet?form=C:\ver6\MODULE1.fmx&userid=SCOTT/TIGER@orcl&buffer_records=NO&debug_messages=NO&array=YES&query_only=NO&quiet=NO&RENDER=YES"
    Please i need to that how can i hide it
    best to all

    read this document
    http://download-west.oracle.com/docs/cd/A97329_01/web.902/a92175/chap03.htm#1033308

Maybe you are looking for