Numeric Pad Error

Hi, I have a Lenovo Thinkpad Edge E530c. The problem is that when I press the full stop (.) on the numeric key pad it comes up as a comma (.).
Is there a setting I need to change to get it to work as it should?
Solved!
Go to Solution.

Check the Regional settings? Do you have a standard US English keyboard?
W520: i7-2720QM, Q2000M at 1080/688/1376, 21GB RAM, 500GB + 750GB HDD, FHD screen
X61T: L7500, 3GB RAM, 500GB HDD, XGA screen, Ultrabase
Y3P: 5Y70, 8GB RAM, 256GB SSD, QHD+ screen

Similar Messages

  • Need help with the following code (Want an input popup with numeric pad)

    Hello,
    I put the following code in an event :
    import javax.swing.JOptionPane;
    value = javax.swing.JOptionPane.showInputDialog("Price", "");
    try {
    Double newPrice = new Double(value);
    line.setPriceTax(newPrice);
    } catch (NumberFormatException e) {
    JOptionPane.showMessageDialog(null, "Not valid number: " + value, "Error", JOptionPane.PLAIN_MESSAGE);
    But this only gives an input popup screen and then i have to use a keyboard instead of my touchscreen to give the input,
    i would rather like it to be a popup input screen with a numeric pad attached.
    Is this possible, and how??
    Thanks in advance.
    Jeroen

    hii,
    set321go wrote
    make your own. Create a custom OptionPane and add --->
    // global def.
    private final JLabel amountLabel = new JLabel(" Input Trades Amount : ");
    private JFormattedTextField amountTextField;
    private double amount = 0.00;
    private NumberFormat amountFormat;
    // in panel class add --->
    amountFormat = NumberFormat.getNumberInstance();
    amountFormat.setMinimumFractionDigits(2);
    amountFormat.setMaximumFractionDigits(2);
    amountFormat.setRoundingMode(RoundingMode.HALF_EVEN);
    amountLabel.setFont(new Font("Serif", Font.BOLD, 16));
    amountLabel.setForeground(KopikSalesTest.textColor);
    amounTextField = new JFormattedTextField(amountFormat);
    amountTextField.setValue(0.00);
    amountTextField.setFont(new Font("Serif", Font.BOLD, 20));
    amountTextField.setForeground(Color.someColor);
    amountTextField.setBackground(Color.someColor);
    amountTextField.addFocusListener(new FocusListener() {
                public void focusGained(FocusEvent e) {
                    amountTextField.requestFocus();
                    amountTextField.setText(amountTextField.getText());
                    amountTextField.selectAll();
                public void focusLost(FocusEvent e) {
                    //on exit
    somePanel.add(amountLabel);
    somePanel.add(amountTextField); ... kopik

  • Numeric overflow error in aggregation level formula

    The formula for Revenue/Quantity is giving me the following error:
    Error: [314]: numeric overflow: search table error:  [6944] AttributeEngine: overflow in numeric calculation;Error executing physical plan: exception 6944: AttributeEngine/Parallel/Aggregation.cpp:573 AttributeEngine: overflow in numeric calculation; $function$=read; $message$=unable to read measures RAOL01:_SYS_CE__popid_24_531C272BF80A349FE10000007F000002_558972en TEST_Revenue fixed16.12 ,in executor::Executor in cube: RAOL01:_SYS_CE_$REQUEST$_popid_24_531C272BF80A349FE10000007F000002_558973: calcEngine search on olapIndex failed.
    I am aware that if Quantity is zero then we get this error, but I have already handled it and Quantity is never zero.
    Both the measures are Decimal, any suggestions as to how to handle this?

    My first guess you have reached the upper limit of the datatype on concerned column and the AttributeEngine is not capable now to handle the numeric overflow, hence throwing the error message.
    Try converting it to higher datatypes like double, you can also try to do an workaround with datatype conversion functions like TO_DOUBLE before aggregation func.
    If you are using something like sum("COL1") try using sum(TO_DOUBLE("COL1"))

  • DBMS_LOB.LOADFROMFILE causes numeric value error

    The code below causes a numeric value error when I do LOADFROMFILE. Do you have any suggestions. Thanks.
    declare
    locator bfile;
    cloblocator clob;
    buffer varchar2(1000);
    lsize integer := 0;
    amount INTEGER := 1000;
    v_filename varchar(50) := 'notify_offer_tbl';
    begin
    locator := bfilename('IDEA_DATA_DIR','notify_offer_tbl');
    insert into imsa.t_unix_logs values ('notify_offer_tbl', locator, empty_clob());
    Select fileloclob into cloblocator from imsa.t_unix_logs where filename ='notify_offer_tbl' for update;
    if dbms_lob.fileexists(locator) = 1 then
    dbms_output.put_line('Exists');
    if dbms_lob.fileisopen(locator) = 1 then
    dbms_output.put_line('open');
    else
    dbms_output.put_line('close');
    dbms_lob.fileopen(locator, DBMS_LOB.FILE_READONLY);
    lsize := dbms_lob.getlength(locator);
    dbms_output.put_line('File Length: ' || to_char(lsize));
    DBMS_LOB.LOADFROMFILE(cloblocator, locator, lsize);
    commit;
    end if;
    end if;
    DBMS_LOB.READ(cloblocator, amount, 1, buffer);
    dbms_output.put_line('File ' || buffer);
    DBMS_LOB.FILECLOSE(locator);
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line('Error -- ' || SUBSTR(sqlerrm, 1, 200));
    DBMS_LOB.FILECLOSE(locator);

    Yes. The column clobcol (in the SELECT in your example) should be set to empty_clob() or already contain a CLOB, before selecting the column value into the local variable. The example in the DBMS_LOB documentation page is misleading as it does not mention this.
    Note also that it is best to use dbms_lob.getlength to establish the value for
    the amount parameter.
    Hope this helps others searching for information on this - I have spent some painful hours working this out!
    Peter

  • Numeric pad not working correctly mainly in Microsoft Word

    I have an Apple keyboard with an integrated numeric pad integrated on the right.
    Since a while I have a problem that some of the keys on the numeric pad do not work anymore. The + does not work at all and the * toggles show/hide ¶.
    It is not in all programmes, Microsoft Word has the problem but Filemaker Pro does not.
    I tried an other KB same result.
    Any ideas how to fix this?

    smithrj wrote:
    It may be a mechanical issue. The keyboard may have issues. Do you have a spare keyboard to troubleshoot and narrow the problem down?
    Hi Ray
    If you look n my original post you will see I covered that.
    +I tried an other KB same result.+
    So answer is yes.

  • Numeric Overflow error on NPer function

    I am trying to use this NPer function and it's acting real weird. If I use the same numbers that my database fields hold, it works and when I switch to database fields it works fine one time and next time I try to refresh data, it gives me this "numeric overflow" error..
    In Crystal help example, they shows that the payment has to be a negative number. So I am following that. If i switch it to the positive number, then it works bit it gives me negative # of months plus it's wrong number.
    Not sure whats going on and would really appreciate any help...
    Thanks
    Raj

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with your directly

  • Numeric overflow error using binary integer

    Hi experts,
    I am facing issue while solving a numeric overflow error. after analyzing we came to know that in the below code BINARY_INTEGER is causing the issue as input is exceeding its range. I tried to replace BINARY_INTEGER by varchar2(20) but its saying
    "Error(580,20): PLS-00657: Implementation restriction: bulk SQL with associative arrays with VARCHAR2 key is not supported."
    We need to remove this binary_integer. I dont know how to do this. Can anybody give some idea or what code change required here ? thanks in advance. Cheers.. Below is the code,
    ===================================================
       PROCEDURE UpdateCost_
          p_Cost_typ IN OUT NOCOPY CM_t,
       IS
          TYPE ObjektIdTab_itabt IS TABLE OF ObjektId_tabt INDEX BY BINARY_INTEGER;
          v_cost_IdTab_itab ObjektIdTab_itabt;
          v_CM_ID INTEGER := p_Cost_typ.costm.CM_ID;
          BEGIN
                SELECT CAST(MULTISET
                        (SELECT Costwps.CMKostId
                          FROM CM_Pos_r NRPos,
                                CMK_z_r costzpps,
                                CMG_Cost_v Costwps
                          WHERE NRPos.CM_ID = v_CM_ID
                            AND NRPos.SNRId_G = SNRCT.SNRPos.SNRId_G
                            AND costzpps.CM_ID = NRPos.CM_ID
                            AND costzpps.CMSNRPosId = NRPos.CMSNRPosId
                            AND costzpps.Kost_s = Kost.Costnzl.Kost_s
                            AND Costwps.CMKz_Id = costzpps.CMKz_Id
                            AND Costwps.TypCode NOT IN
                                (SELECT kw.TypCode
                                   FROM TABLE(Kost.Kostwt_tab) kw
                        ) AS ObjektId_tabt )
                  BULK COLLECT
                  INTO v_cost_IdTab_itab
                  FROM TABLE(p_Cost_typ.SNR_tab) SNRCT,
                       TABLE(SNRCT.Kost_tab) Kost
             FOR v_i IN 1 .. v_cost_IdTab_itab.COUNT LOOP
                FOR v_j IN 1 .. v_cost_IdTab_itab(v_i).COUNT LOOP
                   DELETE FROM CMG_Cost_v WHERE CMKostId = v_cost_IdTab_itab(v_i)(v_j);
                END LOOP;
             END LOOP;
    END;
    ===================================================

    Thanks for your reply. I tried with INDEX by NUMBER. but oracle says its not a valid use of index by thing. and moreover I also tried with by removing INDEX BY clause. but in that case we are not at all getting any data in for loop. some people says to use extend clause. But again I am not sure How to do so. Can you please let me know code for this.
    I know you are trying to help by you need to STOP telling us what problem you have and SHOW US. Saying 'Oracle says' is useless. Post EXACTLY what code you are using, the EXACT steps you are using to compile that code and the EXACT result that you are getting.
    You also made no comment about the 'overflow' issue. A BINARY_INTEGER (PLS_INTEGER) has a very large range of values:
    http://docs.oracle.com/cd/E11882_01/appdev.112/e25519/datatypes.htm#i10726
    >
    The PLS_INTEGER data type stores signed integers in the range -2,147,483,648 through 2,147,483,647, represented in 32 bits.
    >
    If you are trying to create a collection of more than 2 BILLION of anything you have a serious problem with either WHAT you are trying to do or HOW you are trying to do it. Your 'overflow' issue is more likely a symptom that you are really running out of memory. You should ALWAYS have a LIMIT clause when you do BULK COLLECT statements.
    Also see this section in that doc: SIMPLE_INTEGER Subtype of PLS_INTEGER
    You need to address your LIMIT issue first and then address any other issues that arise from actually executing the code.
    Then see the section 'SELECT INTO Statement with BULK COLLECT Clause' in that doc
    http://docs.oracle.com/cd/E11882_01/appdev.112/e25519/tuning.htm#BABEIACI
    That section has an example that shows you do NOT need to use an INDEX BY clause to create collections as you are trying to do. So your not 'getting any data in for loop' is NOT related to the lack of that clause.
    That example also shows you that you do NOT use 'extends' when doing BULK COLLECT. The bulk collection automatically extends the collection as needed to hold the entire results (assuming you don't run out of memory for 2 BILLION things).
    Example 12-22 in that same doc shows the proper way to use a double loop and a BULK COLLECT with a LIMIT clause
    http://docs.oracle.com/cd/E11882_01/appdev.112/e25519/tuning.htm#BABCCJCB
    Here is very simple sample code you can use in the SCOTT schema to understand how the double loop and LIMIT clauses work together.
    >
    The FETCH does a BULK COLLECT of all data into 'v'. It will either get all the data or none if there isn't any.
    The LOOP construct would be used when you have a LIMIT clause so that Oracle would 'loop' back to
    get the next set of records. Run this example in the SCOTT schema and you will see how the LIMIT clause works.
    I have 14 records in my EMP table.
    DECLARE
      CURSOR c1 IS (SELECT * FROM emp);
      TYPE typ_tbl IS TABLE OF c1%rowtype;
      v typ_tbl;
    BEGIN
      OPEN c1;
      LOOP                                                 --Loop added
        FETCH c1 BULK COLLECT INTO v LIMIT 3; -- process 3 records at a time
            -- process the first 3 max records
           DBMS_OUTPUT.PUT_LINE('Processing ' || v.COUNT || ' records.');
            FOR i IN v.first..v.last LOOP
                DBMS_OUTPUT.PUT_LINE(v(i).empno);
            END LOOP; 
        EXIT WHEN c1%NOTFOUND;
      END LOOP;
      DBMS_OUTPUT.PUT_LINE('All done');
    END;
    In the FOR loop you would do any processing of the nested table you want to do
    and could use a FORALL to do an INSERT into another table.
    >
    I strongly suggest that you modify your code to work with a VERY SMALL set of data until it works properly. Then expand it to work with all of the data needed, preferably by using an appropriate LIMIT clause of no more than 1000.

  • Numeric Value error 1426

    Hi,
    How to retrive the value of below query.
    I am encountered with numeric value error.
    select power(10,333333333333) from dual;Thanks in advance

    You did look up the error in the online documentation?
    Why not?
    If you would have done so you would have gotten
    Cause: Evaluation of an value expression causes an overflow/underflow.
    Action: Reduce the operands.
    Looks clear to me.
    Looks like you should have done this first in order to avoid redundant questions.
    Sybrand Bakker
    Senior Oracle DBA
    Edited by: sybrand_b on 25-jun-2009 2:49

  • Numeric pad doesn't work anymore in extended Keyboard

    IMAC numeric pad in old extended keyboard doesn't word anymore . I think something wrong in configuration but can't find it.
    help

    I called Apple and we trouble shot it for over an hour. It turns out that I could use the number pad when logging in under "test" username but not for my own. After deleting a lot of things and restarting, we found that the problem was in this file "com.apple.universalaccess.plist!!! Once we trashed that and restarted it, my number pad worked and now works fine.
    Thanks for taking the time and effort to reply! Your suggestion was the first thing we worked on and ruled that out!
    Martha

  • TS3048 numeric pad connection

    I cannot connect my numeric pad. i put in the batteries and my wireless keyboard is working, but not the number pad

    What brand and model of numeric keypad are you attempting to use?

  • Apple's new wireless keyboard - why no numeric pad?????

    I wanted to go buy one of those new sleek keyboards a while ago and I wanted it to be wireless. But then I found out that the wireless keyboard doesn't have a numeric pad! Why? Really, I don't see the purpose of this! I hope someone at Apple reads this and that they will start producing wireless keyboards with a numeric pad again because until then they won't see my money going to them. Anyone else who shares my opinion about this?
    Stef

    I agree, the numerical keypad is not useful for me. However, I miss the delete, home, end and page up/down keys. It is annoying with the wireless keyboard to have to use backspace to delete.
    Apple should either expand the current wireless model to include these keys or offer the current wired keyboard in wireless version.
    /p

  • HT3209 Unable to transfer rented movie to I pad, error message indicates already transferred to device, but it is not

    I cannot stand that assistance is not readily available, I rented 2 movies that will not transfer from my coomputer to my I pad, error message said they were already transferred to another device, this is not true???

    rented through iTunes on my computer.  Called apple 7 hours ago and they said they are have issues with itunes and people connecting.  I still cannot connect.  My computer says I must be connected to the internet to download a movie.  I have internet connection. Just cannot connect to itunes.

  • Serious Problem In Oracle9i regarding numerical value error.

    Dear Experts,
    The below code gives numerical value error where cursor is fetching data(in the 'for' line).
    But the cursor's query is executing properly in a SQL window.
    Version is Oracle9i Release 9.2.0.1.0 - Production
    PL/SQL Release 9.2.0.1.0 - Production
    Database Server created in Windows platform.
    Code------
    CREATE OR REPLACE Procedure INTGD.Ge_b_p_Test_Decode As
    Cursor c_Decode Is
    select decode(txt_party_sex,'M','MALE','FEMALE') Txt_Refund_Type
    from ge_b_motor_pool_policy_details
    Union
    Select 'P' From Gen_Proposal;
    lv_refund_type varchar2(10);
    l_Error_Msg Varchar2(500);
    Begin
    For i In c_Decode Loop
    Begin
    lv_refund_type := i.Txt_Refund_Type;
    Insert Into Ge_b_Test_Decode Values (lv_refund_type);
    Commit;
    Exception
    When Others Then
    l_Error_Msg := Substr(Sqlerrm, 1, 500);
    Dbms_Output.Put_Line(l_Error_Msg);
    End;
    End Loop;
    End;
    Please help ASAP.
    Regards,
    jishnu

    Dear Experts
    CREATE TABLE GE_B_MOTOR_POOL_POLICY_DETAILS
    TXT_RO_CODE VARCHAR2(10 BYTE) NOT NULL,
    TXT_OO_CODE VARCHAR2(10 BYTE) NOT NULL,
    NUM_POLICY_NUMBER NUMBER(25),
    NUM_ENDORSEMENT_SRL_NO NUMBER(3),
    NUM_SCHEDULE_CERTIFICATE_NO NUMBER(5),
    TXT_ENDORSMENT_POLICY_NUMBER VARCHAR2(23 BYTE),
    NUM_REFERENCE_NUMBER NUMBER(14) NOT NULL,
    DAT_REFERENCE_DATE DATE NOT NULL,
    NUM_XML_JOB_NO NUMBER(20),
    TXT_PRE_CAL_BASIS VARCHAR2(20 BYTE),
    CUR_NET_TP_PREMIUM NUMBER(20),
    CUR_TOT_TP_PREMIUM NUMBER(20),
    CUR_TP_SERVICE_TAX NUMBER(20),
    DAT_POLICY_EXPIRE_DATE DATE,
    NUM_POL_TERM NUMBER(3),
    TXT_POL_TERM_UNIT CHAR(1 BYTE),
    TXT_PARTY_TYPE CHAR(1 BYTE),
    TXT_PARTY_CODE VARCHAR2(30 BYTE),
    TXT_PARTY_FIRSTNAME VARCHAR2(60 BYTE),
    TXT_PARTY_MIDDLENAME VARCHAR2(60 BYTE),
    TXT_PARTY_LASTNAME VARCHAR2(60 BYTE),
    TXT_PARTY_SEX CHAR(1 BYTE),
    DAT_POLICY_START_DATE DATE,
    TXT_PARTY_ADDR1 VARCHAR2(100 BYTE),
    TXT_PARTY_ADDR2 VARCHAR2(100 BYTE),
    TXT_PARTY_ADDR3 VARCHAR2(100 BYTE),
    NUM_PARTY_PINCODE NUMBER(6),
    TXT_PARTY_STAKE_CODE VARCHAR2(10 BYTE),
    CUR_PAYMENT NUMBER(10),
    TXT_POL_INDICATOR VARCHAR2(10 BYTE),
    TXT_MAIN_POL_TYPE VARCHAR2(10 BYTE),
    TXT_POLICY_CATEGORY_FLEET_SCHD CHAR(1 BYTE),
    DAT_VOUCHAR_DATE DATE,
    TXT_PAY_MODE VARCHAR2(10 BYTE),
    TXT_PARTY_NAME VARCHAR2(60 BYTE),
    CUR_VOUCHAR_AMOUNT NUMBER(20),
    TXT_VOUCHAR_NUMBER VARCHAR2(30 BYTE),
    TXT_INSTRUMENT_NUMBER VARCHAR2(20 BYTE),
    DAT_INSTRUMENT_DATE DATE,
    TXT_NARRATION VARCHAR2(100 BYTE),
    DAT_INTIMATION_DATE DATE,
    DAT_INCEPTION_DATE DATE,
    TXT_PRODUCT_CODE VARCHAR2(10 BYTE),
    TXT_POLICY_EVENT VARCHAR2(10 BYTE),
    TXT_NIL_ENDORSEMENT_INDICATOR CHAR(1 BYTE),
    TXT_ENDORSEMENT_TYPE VARCHAR2(23 BYTE),
    TXT_REFUND_TYPE VARCHAR2(23 BYTE),
    TXT_CANCELLATION_TYPE VARCHAR2(23 BYTE),
    TXT_MEMBER_CODE VARCHAR2(10 BYTE),
    TXT_EVENT_SEQ_NO VARCHAR2(10 BYTE),
    TXT_MEMBER_POLICY_NO VARCHAR2(42 BYTE),
    DAT_VEHICLE_PURCHASE DATE,
    TXT_VEHICLE_NEW_SECOND_HAND VARCHAR2(10 BYTE),
    TXT_VEHICLE_CATEGORY VARCHAR2(10 BYTE),
    TXT_VEHI_COMMERCIAL_PASSENGER VARCHAR2(10 BYTE),
    TXT_VEHI_REGISTRATION_NO_1 VARCHAR2(3 BYTE),
    TXT_VEHI_REGISTRATION_NO_2 VARCHAR2(3 BYTE),
    TXT_VEHI_REGISTRATION_NO_3 VARCHAR2(3 BYTE),
    TXT_VEHI_REGISTRATION_NO_4 VARCHAR2(4 BYTE),
    TXT_REGISTRATION_NO VARCHAR2(15 BYTE),
    DAT_VEHI_REGISTRATION_DATE DATE,
    TXT_VEHI_REG_AUTHORITY VARCHAR2(30 BYTE),
    NUM_VEHI_MANU_YEAR NUMBER(10),
    TXT_VEHI_ENGINE_NO VARCHAR2(30 BYTE),
    TXT_VEHI_CHASSIS_NO VARCHAR2(30 BYTE),
    TXT_MAKE_MODEL VARCHAR2(10 BYTE),
    NUM_GROSS_VEHICLE_WT NUMBER(15),
    NUM_SEATING_CAPACITY_CABIN NUMBER(3),
    TXT_VEHI_FULE_TYPE VARCHAR2(10 BYTE),
    TXT_LPG_CNG_KIT_IN_BUILT VARCHAR2(3 BYTE),
    TXT_TYPE_OF_PERMIT VARCHAR2(10 BYTE),
    TXT_VEHI_USED_TUTION VARCHAR2(3 BYTE),
    TXT_VEHI_USED_COMMERCIAL VARCHAR2(3 BYTE),
    TXT_VEHI_DESIGNED_HANDICAPED VARCHAR2(3 BYTE),
    TXT_EXTN_OF_GEO_REQUIRED VARCHAR2(3 BYTE),
    NUM_CUBIC_CAPACITY NUMBER(5),
    NUM_LICENSE_CARRYING_CAPACITY NUMBER(8),
    TXT_NO_TRLR_TOWED_BY_TOW_VEH VARCHAR2(10 BYTE),
    TXT_TRAILERS_TOWED_BY VARCHAR2(10 BYTE),
    CUR_POL_RISK_PREMIUM NUMBER(20),
    CUR_POL_RISK_DISCOUNT NUMBER(20),
    CUR_POL_RISK_OVERLOAD NUMBER(20),
    CUR_TOT_POL_RISK NUMBER(20),
    TXT_WISH_TO_REDUCE_TPPD_COVER VARCHAR2(3 BYTE),
    NUM_NO_NON_FARE_PAY_PASSENGER NUMBER(3),
    NUM_NO_NON_FARE_PASS_EXCL_EMP NUMBER(3),
    TXT_WISH_TO_COVER_EMP_NON_FARE VARCHAR2(3 BYTE),
    NUM_NO_OF_LL_TO_DRVR_CLNR_CON NUMBER(3),
    NUM_NO_OF_WCL_TO_COOLIES NUMBER(3),
    NUM_NO_OF_PAID_DRVR_CLNR_COND NUMBER(3),
    CUR_TOT_SI_FOR_DRVR_CLNR_CON NUMBER(15),
    NUM_NO_UNNAMED_PERSNS_PRSNLACC NUMBER(3),
    CUR_TOT_SI_FOR_UNNAMED_PERSNS NUMBER(15),
    TXT_TYPE_OF_GOODS_TRANSPORTING VARCHAR2(10 BYTE),
    TXT_HOLD_VALID_DRV_LICENSE VARCHAR2(10 BYTE),
    NUM_PROPOSAL_TYPE NUMBER(5),
    NUM_MEMBER_ENDORSEMENT_TYPE NUMBER(5),
    NUM_VEHICLE_INTL_TYPE NUMBER(5),
    NUM_MEMBER_MAKE_CODE NUMBER(5),
    NUM_MEMBER_PAYMENT_MODE NUMBER(5),
    NUM_MEMBER_POLICY_CODE NUMBER(3),
    NUM_XID NUMBER(10),
    TXT_MULTI_PAYMENT CHAR(1 BYTE),
    TXT_POLICY_FLAG CHAR(1 BYTE),
    NUM_RECORD_SEQUENCE NUMBER(30),
    NUM_SCHEDULE_NUMBER NUMBER(5),
    NUM_SCHEDULE_ENTRY_NUMBER NUMBER(10),
    DAT_EVENT_DATE DATE,
    NUM_OUT_XID NUMBER(10),
    DAT_PROCESS_RUN_DATE DATE,
    TXT_HIRE_IMT35_APPLICABLE VARCHAR2(3 BYTE),
    DAT_ENDT_START_DATE DATE,
    TXT_OTHER_MAKE VARCHAR2(50 BYTE),
    TXT_TRANSIT_FROM VARCHAR2(30 BYTE),
    TXT_TRANSIT_TO VARCHAR2(30 BYTE),
    NUM_ACTUAL_DISTANCE NUMBER(15),
    TXT_TRAILER_ATTACHED VARCHAR2(1 BYTE),
    NUM_NO_TRAILER_ATTAH_TOWING_BY NUMBER(10),
    TXT_TRAILER_PURPOSE_TOWED_BY VARCHAR2(3 BYTE),
    TYPE_OF_OTHER_VEHI_MISC VARCHAR2(10 BYTE),
    NUM_NUMBER_OF_DRIVERS NUMBER(3),
    NUM_NUMBER_OF_TRADE_CERTIFI VARCHAR2(3 BYTE),
    TXT_WHETHER_TWO_WHEELER_OR_NOT VARCHAR2(3 BYTE),
    CUR_WAGES_IN_RS NUMBER(15),
    NUM_AREA_IN_SQUARE_METER NUMBER(15),
    TXT_TYPE_OF_PREMISES VARCHAR2(3 BYTE),
    NUM_AREA_OPENAIRCARPARK_IMT64 NUMBER(15),
    NUM_NO_PREMISES_BEYOND_450 NUMBER(3),
    TXT_LIABILITYWORKAWAYIMT65 VARCHAR2(3 BYTE),
    NUM_NO_LLPASSEXCLUDEMP_IMT46 NUMBER(3),
    TXT_WHETHER_VEHIUSEDDEMOIMT60 VARCHAR2(3 BYTE),
    TXT_WHETHERVEHICLETUITIONIMT61 VARCHAR2(3 BYTE),
    NUM_NO_LLDRIVERCLNRCONDUCIMT28 NUMBER(3),
    NUM_MISC_VEHICLECLASS_MEMBER NUMBER(10),
    TXT_PA_OD_COVER_REQUIRED VARCHAR2(1 BYTE),
    NUM_DISTANCE_TRAVELLED_VEHICLE NUMBER(10),
    NUM_NO_OF_DAYS NUMBER(10),
    CUR_TP_LOADING NUMBER(20),
    TXT_DUMMY_1 VARCHAR2(100 BYTE),
    TXT_DUMMY_2 VARCHAR2(100 BYTE),
    TXT_DUMMY_3 VARCHAR2(100 BYTE),
    TXT_DUMMY_4 VARCHAR2(100 BYTE),
    TXT_DUMMY_5 VARCHAR2(100 BYTE),
    NUM_DUMMY_1 NUMBER(2),
    NUM_DUMMY_2 NUMBER(2),
    NUM_DUMMY_3 NUMBER(3),
    NUM_DUMMY_4 NUMBER(4),
    DAT_DUMMY_1 DATE,
    DAT_DUMMY_2 DATE,
    DAT_DUMMY_3 DATE,
    DAT_DUMMY_4 DATE
    here txt_party_sex char(1) column is used in the pl/sql program
    CREATE TABLE GEN_PROPOSAL
    NUM_REFERENCE_NUMBER NUMBER(14) NOT NULL,
    DAT_REFERENCE_DATE DATE NOT NULL,
    NUM_POLICY_NUMBER NUMBER(20) DEFAULT 0 NOT NULL,
    NUM_POLICY_YEAR NUMBER(4) DEFAULT 0 NOT NULL,
    NUM_DEPARTMENT_CODE NUMBER(3) NOT NULL,
    NUM_POLICY_TYPE NUMBER(3) NOT NULL,
    NUM_ENDORSEMENT_NUMBER NUMBER(20) DEFAULT 0 NOT NULL,
    NUM_ENDORSEMENT_YEAR NUMBER(4) DEFAULT 0 NOT NULL,
    NUM_PROPOSAL_TYPE NUMBER(2) NOT NULL,
    TXT_PROPOSAL_STATUS VARCHAR2(2 BYTE) NOT NULL,
    NUM_COVERNOTE_NUMBER NUMBER(16),
    DAT_COVERNOTE_DATE DATE,
    TXT_NAME_OF_INSURED VARCHAR2(200 BYTE) NOT NULL,
    MEM_ADDRESS_OF_INSURED VARCHAR2(255 BYTE) NOT NULL,
    TXT_TELEPHONE VARCHAR2(30 BYTE),
    TXT_FAX VARCHAR2(15 BYTE),
    NUM_BUSINESS_CODE NUMBER(2),
    NUM_INDUSTRY_CODE NUMBER(4),
    NUM_PREVIOUS_POLICY_YEAR NUMBER(4),
    NUM_PREVIOUS_POLICY_NUMBER NUMBER(20),
    NUM_PREVIOUS_OFFICE_CODE NUMBER(6),
    NUM_PREVIOUS_POLICY_TYPE NUMBER(3),
    CUR_TOTAL_PREMIUM NUMBER(13,2) NOT NULL,
    CUR_PREMIUM_RECEIVED NUMBER(13,2) DEFAULT 0 NOT NULL,
    NUM_DEVELOPMENT_OFFICER_CODE NUMBER(8),
    NUM_AGENT_CODE NUMBER(14),
    NUM_SPECIAL_CLIENT_CODE NUMBER(8),
    DAT_DATE_OF_ISSUE_OF_POLICY DATE,
    DAT_DATE_OF_EXPIRY_OF_POLICY DATE,
    DAT_PREV_POLICY_EXPIRY_DATE DATE,
    TXT_OCCUPATION VARCHAR2(50 BYTE),
    NUM_NO_OF_CLAIMS NUMBER(8) DEFAULT 0 NOT NULL,
    NUM_ENDORSEMENT_TYPE NUMBER(2),
    DAT_HOURS_EFFECTIVE_FROM DATE,
    CUR_PREMIUM_COMPUTED NUMBER(13,2) NOT NULL,
    CUR_SERVICE_TAX NUMBER(13,2) DEFAULT 0 NOT NULL,
    CUR_ENDT_AMOUNT NUMBER(13,2) DEFAULT 0 NOT NULL,
    CUR_ENDT_SERTAX NUMBER(13,2) DEFAULT 0 NOT NULL,
    CUR_STAMP_DUTY NUMBER(11,2) DEFAULT 0 NOT NULL,
    YN_STAMP_DUTY_CHARGEABLE NUMBER(1) NOT NULL,
    CUR_SUM_INSURED NUMBER(16) NOT NULL,
    NUM_OWN_SHARE NUMBER(5,2) NOT NULL,
    NUM_AGENT_BILL_NO NUMBER(12) DEFAULT 0 NOT NULL,
    NUM_AGENT_COMM NUMBER(13,2) DEFAULT 0 NOT NULL,
    DAT_ENDT_START_DATE DATE,
    DAT_ENDT_END_DATE DATE,
    TXT_USER_ID VARCHAR2(8 BYTE),
    NUM_PC_ID NUMBER(2),
    NUM_SESSIO_ID NUMBER(5),
    NUM_PIN_CODE NUMBER(6),
    CUR_SPECIAL_DISCOUNT NUMBER(13,2),
    DAT_PROPOSAL_DATE DATE DEFAULT trunc(sysdate),
    CUR_ENDT_STAMP_DUTY NUMBER(11,2) DEFAULT 0 NOT NULL,
    NUM_ENDT_POLICY_NUMBER NUMBER(20) DEFAULT 0 NOT NULL,
    TXT_ENDT_FLAG CHAR(1 BYTE),
    NUM_INSTMNT_NO NUMBER(2) DEFAULT 0 NOT NULL,
    NUM_PREVIOUS_COMPANY_CODE NUMBER(6),
    NUM_COUNTRY_CODE NUMBER(3) NOT NULL,
    NUM_CURRENCY_CODE NUMBER(3) NOT NULL,
    NUM_AGENT_COMM_RATE NUMBER(4,2),
    NUM_SPECIAL_DISCOUNT_RATE NUMBER(4,2),
    DAT_COVERNOTE_RCVD_DATE DATE,
    TXT_SECTOR_CODE VARCHAR2(5 BYTE) NOT NULL,
    NUM_CLASS_CODE NUMBER(3) NOT NULL,
    TXT_MANUAL_CODE VARCHAR2(3 BYTE) NOT NULL,
    TXT_CUST_POLICY_NO VARCHAR2(20 BYTE) NOT NULL,
    TXT_CUST_ENDT_POLICY_NO VARCHAR2(20 BYTE) NOT NULL,
    DAT_LAST_UPDT_DTTM_DATE DATE DEFAULT sysdate NOT NULL,
    TXT_ARCHIVAL_STATUS CHAR(1 BYTE) DEFAULT 'F' NOT NULL,
    NUM_RENEWAL_POLICY_NO NUMBER(20) DEFAULT 0 NOT NULL,
    TXT_LAST_RECORD_STATUS CHAR(2 BYTE) NOT NULL,
    TXT_EMAIL_ADDRESS VARCHAR2(200 BYTE),
    NUM_SUB_CLASS_CODE NUMBER(3),
    CUR_STAFF_DISCOUNT NUMBER(13,2),
    CUR_GROUP_DISCOUNT NUMBER(13,2),
    CUR_LONGTERM_DISCOUNT NUMBER(13,2),
    CUR_TERRORISM_LOADING NUMBER(13,2),
    NUM_REINSTATEMENT_CLAIM_NO NUMBER(20),
    NUM_AGENT_MOD_COMM_RATE NUMBER(4,2),
    TXT_BUSINESS_FLAG VARCHAR2(3 BYTE),
    YN_SEZ NUMBER(1),
    TXT_PAN_NO VARCHAR2(15 BYTE),
    TXT_COMM_SHARE VARCHAR2(2 BYTE),
    TXT_CROSS_REFERENCE_NUMBER VARCHAR2(200 BYTE),
    DAT_CROSS_REFERENCE_DATE DATE,
    NUM_GROUP_CODE NUMBER(8),
    TXT_PRODUCT_TYPE VARCHAR2(2 BYTE),
    DAT_ACTUAL_EXPIRY_OF_POLICY DATE
    )

  • PL/SQL NUMERIC VALUE ERROR

    Hi ,
    We have following code and sending the data through attachnmet its giving the pl/sql numeric value error.
    Please correct me.
    __Code Details:::__
    CREATE OR REPLACE PROCEDURE APPS.print_reports
    IS
    wfile_handle UTL_FILE.file_type;
    lv_file VARCHAR2 (100);
    lv_date VARCHAR2 (20);
    mail_conn UTL_SMTP.connection;
    lv_rep_headers VARCHAR2 (32000);
    p_o_srv_result xxcss_prf_report_pkg.ref_cur_srv_prog;
    lv_str_type XXCSS_PRF_STRING;
    lv_line VARCHAR2 (32767);
    lv_send_to VARCHAR2 (200);
    lv_host_name VARCHAR2 (200) := 'outbound.cisco.com';
    l_vtab CHAR := CHR (9);
    lv_from VARCHAR2 (200) := '[email protected]';
    lv_att_file_name VARCHAR2 (200);
    lv_path VARCHAR2 (200);
    p_request_type VARCHAR2 (1) := 'E';
    p_request_id NUMBER;
    errbuf VARCHAR2 (2000);
    retcode NUMBER;
    crlf VARCHAR2 (2) := CHR (13) || CHR (10);
    lv_line_data Clob;
    lv_clob clob;
    BEGIN
    BEGIN
    SELECT VALUE
    INTO lv_path
    FROM v$parameter
    WHERE NAME = 'utl_file_dir';
    EXCEPTION
    WHEN OTHERS
    THEN
    lv_path := '\tmp';
    END;
    lv_rep_headers :=
    'REGION'
    || CHR (9)
    || 'COUNTRY'
    || CHR (9)
    || 'CUSTOMER NAME'
    || CHR (9)
    || 'ERP CUSTOMER NUMBER'
    || CHR (9)
    || 'PROFILE ID'
    || CHR (9);
    FOR i IN ( SELECT DISTINCT srv_program_id srv_prgm
    FROM xxcss_prf_cust_srv_programs
    ORDER BY srv_program_id ASC)
    LOOP
    lv_rep_headers := lv_rep_headers ||i.srv_prgm || CHR (9);
    END LOOP;
    lv_rep_headers := lv_rep_headers || CHR (13);
    BEGIN
    XXCSS_PRF_REPORT_PKG.offline_daemon (p_request_id,
    p_request_type,
    p_o_srv_result,
    errbuf,
    retcode);
    EXCEPTION
    WHEN OTHERS
    THEN
    DBMS_OUTPUT.PUT_LINE ('Error in Offline');
    END;
    lv_att_file_name := 'Eligibility_reports'||p_request_id||'.xls';
    -- DBMS_OUTPUT.PUT_LINE (lv_rep_headers);
    wfile_handle := UTL_FILE.fopen (lv_path, lv_att_file_name, 'W');
    UTL_FILE.put_line (wfile_handle, lv_rep_headers);
    BEGIN
    LOOP
    FETCH p_o_srv_result INTO lv_str_type;
    EXIT WHEN p_o_srv_result%NOTFOUND;
    lv_line := NULL;
    FOR i IN 1 .. lv_str_type.COUNT
    LOOP
    lv_line := lv_line || lv_str_type (i) || CHR (9);
    END LOOP;
    lv_line := lv_line || CHR (13);
    UTL_FILE.put_line (wfile_handle, lv_line);
    END LOOP;
    lv_str_type.DELETE;
    END;
    UTL_FILE.fclose (wfile_handle);
    BEGIN
    wfile_handle := UTL_FILE.FOPEN (lv_path, lv_att_file_name, 'R');
    -- DBMS_OUTPUT.PUT_LINE ('inside file');
    LOOP
    UTL_FILE.GET_LINE (wfile_handle, lv_line_data,32767);
    -- DBMS_OUTPUT.PUT_LINE (lv_line_data);
    lv_clob := lv_clob || lv_line_data;
    END LOOP;
    UTL_FILE.FCLOSE (wfile_handle);
    EXCEPTION
    WHEN OTHERS
    THEN
    errbuf := sqlerrm;
    UTL_FILE.FCLOSE (wfile_handle); -- close file
    DBMS_OUTPUT.PUT_LINE ('Exception'||errbuf);
    NULL;
    END;
    DBMS_OUTPUT.PUT_LINE ('afterdata');
    --DBMS_OUTPUT.PUT_LINE (lv_line_data);
    SELECT email_id
    INTO lv_send_to
    FROM xxcss_prf_offline_report_tb
    WHERE request_id = p_request_id AND report_type = p_request_type;
    mail_conn := UTL_SMTP.open_connection (lv_host_name, 25);
    UTL_SMTP.Helo (mail_conn, lv_host_name);
    UTL_SMTP.Mail (mail_conn, 'sangrdas');
    UTL_SMTP.Rcpt (mail_conn, lv_send_to);
    UTL_SMTP.OPEN_Data(mail_conn) ;
    DBMS_OUTPUT.PUT_LINE ('Sending Data');
    UTL_SMTP.write_Data (
    Mail_Conn,
    'Date: '
    || TO_CHAR (SYSDATE, 'Dy, DD Mon YYYY hh24:mi:ss')
    || crlf
    || 'From: '
    || lv_from
    || crlf
    || 'Subject: ELIGIILITY Report_'
    || p_request_id
    || crlf
    || 'To: '
    || lv_send_to
    || crlf
    || 'MIME-Version: 1.0'
    || crlf
    || -- Use MIME mail standard
    'Content-Type: multipart/mixed;'
    || crlf
    || ' boundary="-----SECBOUND"'
    || crlf
    || '-------SECBOUND'
    || crlf
    || 'Content-Type: text/plain;'
    || crlf
    || 'Content-Transfer_Encoding: 7bit'
    || crlf
    || 'some message text'
    || crlf
    || -- Message body
    'more message text'
    || crlf
    || '-------SECBOUND'
    || crlf
    || 'Content-Type: text/plain;'
    || crlf
    || ' name="'|| lv_att_file_name||'"'
    || crlf
    || 'Content-Transfer_Encoding: 8bit'
    || crlf
    || 'Content-Disposition: attachment;'
    || crlf
    || ' filename="'
    || lv_att_file_name
    || '"'
    ||crlf
    ||crlf
    ||lv_clob
    || crlf
    ||crlf
    ||crlf
    || '-------SECBOUND');
    UTL_SMTP.CLOSE_Data(mail_conn) ;
    UTL_SMTP.quit (mail_conn);
    DBMS_OUTPUT.PUT_LINE ('After Mail');
    EXCEPTION
    WHEN OTHERS THEN
    errbuf := sqlerrm;
    DBMS_OUTPUT.PUT_LINE ('ERROR Sending Data'||errbuf);
    ROLLBACK;
    END;
    /

    Yet again, opening a new thread for an existing issue...
    Need help in UTL file
    Same old, same old...
    need a report code
    need to create the header dynamically for a report
    Would have thought you'd get the idea of posting on the forums by now.

  • CR XI R2 Cannot find Nth root - "Numeric Overflow" Error

    In Crystal Reports Xi Release 2, when i try to perform a calculation within a formula  X ^ Y where  Y = 1/years  and Y < 1, I receive a "Numeric Overflow" error when running the report.   Is there anything that can be done to work around or fix this?
    Thanks.

    Hello Jay,
    I'm assuming you meant 0 < years < 1
    One limitation is that Crystal Reports uses IEEE double precision floating point representation for internal numerical computation.  This limits the maximum expressible numeric value to approximately 10 ^ 308.
    If computational results exceed this magnitude, the "Numeric Overflow" error will result.
    Sincerely,
    Ted Ueda

Maybe you are looking for

  • Beginner needs Help with using FCP

    Hi I just opened up FCP and have no idea how to use it. How can I watch free Video Tutorials? Most videos I want to use in a video project are Xvid .avi videos and I have a hard time scrubbing through them. How can I make my editing for those more sm

  • Possible? Master slide with changing image?

    Let's say I have a presentation with 20 slides. For simplicity, all 20 use the same master. I would like to have a little image of our company's logo in one corner, which starts off vertical but rotates as I go through the slides as a sort of visual

  • Mail not working for local users

    I have sunOS 5.9 running on sun sparc mail is not working on this system even for local users. I have tried from the command prompt mail username Test email ^D nothing happens after control D, I don't get command prompt. I also tried mail username Te

  • I  Need SQL query

    Hi experts,   One of our Client asking in Aging Reports along with Customer state and  Country and  District. Please Help me out this issue .. I need this Query. Thanks Dineshkumar kannan

  • Launch a new Webiste from Webclient

    Hi Folks I need to launch a new website in a new browser session upon clicking a button on the webclient. I can't use launch transaction because it will open the webiste in the same browser session. Can anyone assist on how to achieve this requirment