How to disable the Calculation mode in oracle form

hi All,
i have 2 text items in one block.say TEXT_A, TEXT_B
TEXT_B is showing the SUM of TEXT_A where TEX_A is poulated by DB query and showing UOM(unit of measure for an item).
But
on some condition, i dont want to do SUM (like if the UOM are differents).
how can we disable or off the calculation mode for TEXT_B.
Nitn

hi Craig
thanks for your reply but its not working-
please agn read the scenario , i have added more details -
suppose in a single block we have 3 TEXT_ITEM
I have one text item TEXT_A which is populated by EXECUTE_QUERY .TEXT_A having 3 lines and values may be-
first case
KG
KG
KG
Second case
KG
KG
METER
TEXT_B also having 3 lines and USer can enter values in this field.
TEXT_C is the sum of text_B and TEX_C is having one line as to show sum of B .
i have set the TEXT_C property palette properties to show sum of TEXT_B and it is working fine.
now if the values are same in TEXT_A, TEXT_C should show SUM of text_b.
but if it is second case if the values are different then TEXT_C should not poulate .
do we have any SET_ITEM_PROPERTY(':blk_name',???????????,prperty_false)
?????????= so it can disable the Summary function whihc i set from property pallettle
hoping for reply.

Similar Messages

  • How to implement the spell check in oracle forms 10g or 6i...

    How to implement the spell check in oracle forms.
    Is there any different method is there.
    Please help me....
    Praveen.K

    Here is one different from Jspell..
    In 6i client/server you can call MS Word spell checker using OLE. Below sample code for 6i.
    For 10g you will need webutil to use same code. install webutil and just replace "OLE2." with "CLIENT_OLE2."
    PROCEDURE spell_check (item_name IN VARCHAR2)
    IS
       my_application   ole2.obj_type;
       my_documents     ole2.obj_type;
       my_document      ole2.obj_type;
       my_selection     ole2.obj_type;
       get_spell        ole2.obj_type;
       my_spell         ole2.obj_type;
       args             ole2.list_type;
       spell_checked    VARCHAR2 (4000);
       orig_text        VARCHAR2 (4000);
    BEGIN
       orig_text := NAME_IN (item_name);
       my_application := ole2.create_obj ('WORD.APPLICATION');
       ole2.set_property (my_application, 'VISIBLE', FALSE);
       my_documents := ole2.get_obj_property (my_application, 'DOCUMENTS');
       my_document := ole2.invoke_obj (my_documents, 'ADD');
       my_selection := ole2.get_obj_property (my_application, 'SELECTION');
       ole2.set_property (my_selection, 'TEXT', orig_text);
       get_spell :=ole2.get_obj_property (my_application, 'ACTIVEDOCUMENT');
       ole2.invoke (get_spell, 'CHECKSPELLING');
       ole2.invoke (my_selection, 'WholeStory');
       ole2.invoke (my_selection, 'Copy');
       spell_checked := ole2.get_char_property (my_selection, 'TEXT');
       spell_checked :=SUBSTR (REPLACE (spell_checked, CHR (13), CHR (10)),1,LENGTH (spell_checked));
       COPY (spell_checked, item_name);
       args := ole2.create_arglist;
       ole2.add_arg (args, 0);
       ole2.invoke (my_document, 'CLOSE', args);
       ole2.destroy_arglist (args);
       ole2.RELEASE_OBJ (my_selection);
       ole2.RELEASE_OBJ (get_spell);
       ole2.RELEASE_OBJ (my_document);
       ole2.RELEASE_OBJ (my_documents);
       ole2.invoke (my_application, 'QUIT');
       ole2.RELEASE_OBJ (my_application);
    END;Call it like this: SPELL_CHECK ('BLOCK.MY_TEXT_ITEM' );

  • How to disable 'Clear Record' option in Oracle Forms deployed in Orcl Apps

    Dear Members,
    I have developed a custom form which is deployed in Oracle Applications.
    In this form I want to disable the 'Clear Record' option to prevent users from clearing the record.
    Can any one please tell me how can I do it?
    Thanks in advance.
    Best Regards,
    Arun Reddy D.

    Hi,
    In your Forms---> trigger--> KEY-CLRREC-----> NULL;
    You cant clear any record.

  • How to disable the verbose mode in HTTPS ?

    Hello Everybody,
    I'd like to know how I can make an https connection in which the text of the transaction with the distant server doesn't show in the console
    here is my code :
    URL rawURL = new URL(url);
    if(rawURL.getProtocol().startsWith("https"))
         System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
         System.setProperty("javax.net.debug","ssl,handshake,data,trustmanager");
         Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
         TrustManager[] trustAllCerts = new TrustManager[]{
         new X509TrustManager()
              public void checkClientTrusted(X509Certificate[] chain, String authType) {}
              public void checkServerTrusted(X509Certificate[] chain, String authType) {}
              public X509Certificate[] getAcceptedIssuers() {
                   return null;
         HostnameVerifier hv = new HostnameVerifier()
                         public boolean verify(String urlHostName, SSLSession session)
                              return true;
         /*Initialisation de la connection*/
         try
              SSLContext sc = SSLContext.getInstance("SSL");
              sc.init(null, trustAllCerts, new java.security.SecureRandom());                         HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
              HttpsURLConnection.setDefaultHostnameVerifier(hv);
              HttpsURLConnection.setFollowRedirects(false);
         catch(NoSuchAlgorithmException nsae){}
         catch(KeyManagementException kme)
                         kme.printStackTrace();
         /* creation de la connection */
         urlCon = ((HttpsURLConnection)rawURL.openConnection());
    urlCon.setInstanceFollowRedirects(true);
    urlCon.setReadTimeout(12000);
    urlCon.setConnectTimeout(7000);
    urlCon.addRequestProperty("User-Agent","Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.7.12) Gecko/20050922 Firefox/1.0.7 (Debian package 1.0.7-1)");
    urlCon.addRequestProperty("Host",urlCon.getURL().getHost());
    urlCon.addRequestProperty("Accept-Language", "fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3");
    switch (urlCon.getResponseCode())
    }Thank's !

         System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");You don't need that unless you're running 1.3 or earlier.
         System.setProperty("javax.net.debug","ssl,handshake,data,trustmanager");You don't need that unless you want verbose mode.
         Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());You don't need that unless you're running 1.3 or earlier.
         TrustManager[] trustAllCerts = new TrustManager[]{You don't need this thing at all unless you like (a) code that doesn't implement its specification correctly and (b) insecure code. If your truststore doesn't trust the server certificate, that's the server's problem. Get them to fix it, by getting their certificate signed by a recognized CA.
         HostnameVerifier hv = new HostnameVerifier()Much the same remarks. This piece of code is insecure and it just addresses a problem with the server certificate. Get the problem fixed.
    Otherwise in both cases you may as well not be using HTTPS at all - there is no security.
         catch(NoSuchAlgorithmException nsae){}Never ignore an exception.
    urlCon.setInstanceFollowRedirects(true);If you have that you don't need the global setFollowRedirects call above, so you should remove it.

  • How to disable the extended display mode on iMac?

    how to disable the extended display mode on imac

    I downloaded one of the PDF form (IMM5490) from cic.gc.ca and saved it on my computer after filling it up. Later on the following message popped up when I tried to open the form again later to in order to make some changes.
    "This document enabled extended features in Adobe Reader. The document has been changed since it was created and use of extended features is no longer available. Please contact the author for the original version of this document"
    Your help in this regard will be greatly appreciated, since, I have already filled the form with a lot of information and I will not be able to edit the form with additional information unless I disable the extended features ( I guess).

  • How I disable the iPad picture frame mode?

    Several times I looked in the settings but could not find this option, just in the passcode settings, but I turned off the passcode, the picture frame is turned on WHY? And how I disable the picture frame? I looked this on youtube in an iPad review video at 2:35 min: http://www.youtube.com/watch?v=Aly5Q_mUhVI
    Thanks for the help.

    Of course you can.
    If you don't want the little flower icon appearing on the unlock screen, set the Allow Picture Frame to Off under Passcode in General Settings.
    If you want to deactivate the Pcitrue Frame mode while its running, tap the home button once, and click on the Flower icon at the bottom right whihc should be blue since its on.

  • How to disable mac book sleep for when I close the lid. I have a monitor attached to the mac book and as soon as I close the lid on the mac book it goes toi sleep. Any way to disable the sleep mode? Thanks

    Boss bought a new monitor for his mac book. We connected it but he rather keep the mac book lid closed in order to work on the bigger monitor screen. Soon as he closes the lid, the mac book goes to sleep mode.
    Is there a free way to disable the sleep mode?

    When the MacBook goes to sleep just hit a key on your external keyboard and the monitor will come back on.
    http://support.apple.com/kb/HT3131

  • How to use the Calculated attibute in view object

    Hi,
    I have a view object query with the calculated attribute name as 'TRANCODE' in the below sql.This query works for the initial page loading.
    After the page gets loaded, there is a search section in the same page at the top.
    Here i will have to build the whereclause to the same query and retrieve the values.
    i am using jDeveloper 10.1.3.1, with adf and jHeadstart.
    Can some one tell as how to use the calculated attribute TRANCODE in whereclause?
    SELECT /*+ first_rows(10) */
    BatchCntl.FILE_CNTL_ID,
    CASE WHEN chk_bit(Entry.ENTRY_FLAGS, 2)='Y' OR Entry.ENTRY_SUBSTATUS = 'D' OR Entry.ENTRY_SUBSTATUS = 'J'
    THEN
    CASE eeh.TRAN_CODE
    WHEN '21' THEN 'C'
    WHEN '22' THEN 'C'
    WHEN '31' THEN 'C'
    WHEN '32' THEN 'C'
    WHEN '26' THEN 'D'
    WHEN '27' THEN 'D'
    WHEN '36' THEN 'D'
    WHEN '37' THEN 'D'
    ELSE eeh.TRAN_CODE
    END
    ELSE
    CASE Entry.TRAN_CODE
    WHEN '21' THEN 'C'
    WHEN '22' THEN 'C'
    WHEN '31' THEN 'C'
    WHEN '32' THEN 'C'
    WHEN '26' THEN 'D'
    WHEN '27' THEN 'D'
    WHEN '36' THEN 'D'
    WHEN '37' THEN 'D'
    ELSE Entry.TRAN_CODE
    END
    END AS TRANCODE,
    FROM Batch_Cntl BatchCntl, Entry, ENTRY_EDIT_HIST eeh
    WHERE (BatchCntl.BATCH_TYPE = 'E')
    AND (BatchCntl.BATCH_STATUS in ('A','D','R','P'))
    AND entry.in_batch_cntl_id = BatchCntl.BATCH_CNTL_ID
    and Entry.fi_rt = eeh.fi_rt (+)
    and Entry.entry_id = eeh.entry_id (+)
    AND (Entry.ENTRY_STATUS in ('A','D','R','P'))
    ORDER BY BatchCntl.BATCH_CNTL_ID, Entry.entry_id
    regards
    Raj.

    Let's say your application module is com.yourcompany.someapp.services.MyService, and let's say you authored a method like the following in the MyServiceImpl.java file:
      public void doSomething(int i, String s) {
      }and you exposed this AM custom method using the AM editor.
    BC4J design time will automatically create you the com.yourcompany.someapp.services.common.MyService interface that will look like this if you go look at the source code:
    package com.yourcompany.someapp.services.common;
    import oracle.jbo.ApplicationModule;
    public interface MyService extends ApplicationModule {
      public void doSomething(int i, String s);
    }To use your custom method from a client, just cast your ApplicationModule to your custom interface like this:
    import com.yourcompany.someapp.services.common.MyService;
      MyService mySvc = (MyService)yourAM;
      mySvc.doSomething(1,"foo");

  • How to setup the SMTP server in Oracle apps?

    Hi,
    How to setup the SMTP server in Oracle Apps? Is it mandatory to keep the SMTP server on the same host where the Oracle data base is installed? Also can someone help how we can set up the SMTP server on different host (not the Database server) and we can use the same for Workflow notification mailer.
    Thanks,
    Bijoy
    Edited by: user12070886 on Feb 6, 2013 4:26 AM
    Edited by: user12070886 on Feb 6, 2013 4:27 AM

    How to setup the SMTP server in Oracle Apps? Is it mandatory to keep the SMTP server on the same host where the Oracle data base is installed? No, it is not mandatory. Also please note that the mails are sent out from concurrent manager mode. Not from the database node.
    Also can someone help how we can set up the SMTP server on different host (not the Database server) and we can use the same for Workflow notification mailer.
    >
    It depends on the operating system you are using. If you are using *nix then sendmail needs to be configured.
    Thanks

  • How to make the calculation or formula in bottom of the coloum

    How to make the calculation or formula in bottom of the coloum in Discoverer report.
    Regadrs
    Manikandan

    Hi Ros
    You have a couple of issues, one that is simple to resolve and one that is not so simple.
    First, the simple one - the word TOTAL. To alter the word that Discoverer inserts next to a total, or to even remove the word altogether, use this workflow:
    1. Right-click on the total and from the pop-up menu select Edit Total
    2. At the bottom right-hand corner of the Edit Total dialog box is the area where the label is maintained. You will see a checkbox for the label
    3. If you uncheck the label you can change the label to anything you like, including nothing
    4. After you have set the label, click OK and close the Edit Total dialog box
    Note: In Desktop, this is done via a drop-down from the Total dialog box. If you click the drop-down, the last item in the list is called Generate Label Automatically. If you uncheck this you can create your own label.
    Your second issue concerning the non-totaling of the grand total on some items means that there is something preventing one or more of the totals from calculating. First of all, try to determine which item or items is causing the problem by adding individual totals to each of the desired columns. You will eventually find the column which has the culprit. If you use the above workflow to suppress the display of any labels your total line will look as though you have totaled all items.
    Next, having found the column that will not total, try to figure out why the values will not add up. Could the column be a calculated item? If so, it is possible that you have used SUM on the outside of the calculation, like this:
    SUM(some item - some other item) - this will not total if the original items themselves are in the query and are also being summed. This is because you are mixing aggregate and detail items within the total.
    Try changing the formula like this:
    SUM(some item) - SUM(some other item) and see if this helps.
    If this is not the cause then try changing the formula for that column's total to CELL SUM instead of SUM. This causes Discoverer to literally add the values in the column.
    If this is not the cause, could you possibly be trying to total repeated values? By default, this is disabled in the later versions of Discoverer. The repeated values will be caused if you have multiple joins in your query and the item that you are totaling is from the many end of a one to many relationship. Suppose you had items from a header table and line table in the same worksheet with there being multiple lines for the same header, and now let's say you have a column which is returning something from the header. That value will get repeated and if you try to total it would generate the wrong answer, hence out of the box Discoverer is trying to protect you from yourself.
    However, it could be that the column really should be totaled but because Discoverer has detected a one to many join it will not total that column. To prove that this is the reason, change the join from a one to many to a one to one. Don't worry, this won't stop the query from working. If this allows the total to work then you can either leave the join as it is with a one to one, which won't harm Discoverer or you can edit the pref.txt on the server and change one of the preferences.
    The preference I would change is called AllowAggregationOverRepeatedValues. By default this is disabled and will be set to 0. Changing this to a 1 will now tell Discoverer that repeated values can now be totaled. Don't forget to apply the preferences correctly by execiting applypreferences.bat, on Windows or applypreferences.sh, in Linux or Unix, and then stopping and restarting the Discoverer server.
    I hope this helps
    Best wishes
    Michael Armstrong-Smith
    URL: http://learndiscoverer.com
    Blog: http://learndiscoverer.blogspot.com

  • How to disable the archive logs in SAP IDES(Windows) using SQL Server

    can any body tell us How to disable the archive logs in SAP IDES(Windows 2003) using SQL Server 2000.SP4.?

    Hi,
    Unfortunately, SQL Server does not have the option to turn off transaction logging. You can set the recovery mode to SIMPLE, instead of FULL. This will result in the transaction log being truncated on checkpoint.
    http://support.microsoft.com/kb/873235 - check this microsoft article
    This will help in reduction of the size of the transcation log.
    - Regards, Dibya

  • How to disable the salary button

    How to disable the salary button in "Combined Per & Asg Form WKFLW_NAME="US HRMS PERSON TASKFLOW" screen function.

    You should not modify the taskflow "US HRMS PERSON TASKFLOW" directly. Instead, create a new Taskflow that contains the navigation items you require, and then create a new function that uses the Taskflow.
    1. Create a Tasklfow
    2. Create a Function using the form "Combined Per & Asg Form" including the parameter WORKFLOW_NAME="XX HRMS PERSON TASKFLOW" (or whatever you have called it)
    3. Use this function in your menu definition.
    http://download-uk.oracle.com/docs/cd/B11454_01/11.5.9/acrobat/115hradm.pdf
    See section "Configuring Oracle HRMS" for more information on Taskflows.

  • How to disable the ipod even if connected to itunes

    how to disable the ipod even if connected itunes and not responded

    If you mean your iPod is disabled, try restoring in Recovery Mode to remedy it: http://support.apple.com/kb/HT1808

  • How to disable the vibration feature for the Alarm?

    How to disable the vibration feature for the Alarm?

    Hi guys , because we have no answer to our issue how to take off the vibration when alarm is on , and our other profiles like ringtones, messages , reminders and so on we need to keep them on vibrate mode , the best solution is to install a free application from store called "alarmed " ; I did put it down on my phone and now i can use the alarm clock without any vibration at all ! That's the answer to our issue , before Apple is going to find a solution !
    Personally , I don't think is going to be fix it soon , as long as the apple script made for pop ups is general one !
    Good luck everyone

  • Disable the sleep mode?

    Can you disable the sleep mode of a macbook pro when you shut the lid, so you can attach an external monitor, keyboard and mouse and run it like a desktop?

    Apple Portables: How to use your computer in closed clamshell ...

Maybe you are looking for