Numeric column, last digit of a numeric field is replaced by zero

I have a annoying issue, this started when we upgraded to oracle10g and win 2k3
The code downloads the rows and loads into text file..
But sometimes the last digit of numeric field is replaced by zero.. e.g the value of field is 123.13 then will be displayed as 123.10
And again if the same code is rerun the output is correct!!!
This happens once in week, but no clue!! why it happens!!!

But the oracle server is not replaced.. it is same what it was earlier...
Only the application server is upgraded to win2003..
And started to use "Oracle in OraClient 10G.." previously used "Microsoft ODBC for Oracle".
And if its settings issue, Doesn't be happening consistantly.?
Edited by: user9259846 on May 29, 2010 5:38 AM

Similar Messages

  • How Do You Change A Numeric Field To Blank When Zero?

    I'm using Adobe Acrobat 6.0 Professional, version 6.0.6.
    Can anyone help me with the code to change a numeric field to blank, when "0.00"?

    "no success" does not provide much to go on.
    With your scripts, I get the concatenation of the sting values, so one has to force JavaScript to convert strings to numbers.
    Make sure your field names are exact including case.
    Make sure the calculation order is correct.
    The following scripts all work:
    var fa = 1 * this.getField("FeeN01").value;
    var fb = 1 * this.getField("FeeN02").value;
    var fc = 1 * this.getField("FeeN03").value;
    event.value = fa + fb + fc;
    if ((event.value == 0)) {
    event.value = ""
    // or
    var fa = this.getField("FeeN01").value / 1;
    var fb = this.getField("FeeN02").value / 1;
    var fc = this.getField("FeeN03").value / 1;
    event.value = fa + fb + fc;
    if ((event.value == 0)) {
    event.value = ""
    // or
    var fa = Number(this.getField("FeeN01").value);
    var fb = Number(this.getField("FeeN02").value);
    var fc = Number(this.getField("FeeN03").value);
    event.value = fa + fb + fc;
    if ((event.value == 0)) {
    event.value = ""
    The "sum of" also works with the "Custom validation script" of:
    if (event.value == 0) event.value = "";

  • Limit the number of digits in a numeric field

    Hi
    I have been searching for the last hour to find out ho i can limit the numeric field on my livecycle form. I have seen lots of java script however nothing seems to work, all i want is for the user only to enter 6 digits (e.g. 123456) and if they try to enter more a message would say that only a 6 digit number can be entered.
    This is driving me mad for something i though would be quite simple.
    Can anybody help?

    I am not 100% on the Javascripting; however in the Object window, Field Section there is an option to put the maximum number of characters in a numeric field. It says "comb of" and then it gives you an option of the maximum number of characters that can be allowed in the field. If you put 6 it will only allow 6 characters. However if that is not something you want you can go to the Value Section within the Object Window and click on the Validation Pattern button. In the Validation tab, in the pattern section type in "999999" and hit apply. It should replace it with "num{999999}" which is 6 numeric values. For a custom error message, in the same Value section, add a custom Validation Pattern Message (make sure to check the error box") and then save your file. If someone tries to put more than 6 values in it should pop up with your custom message. I do find it is easier for the user to understand if you use the comb function instead of the validation pattern. It is a lot more clear to the user on what you need. Just my personal opinion though.

  • Null values in Numeric fields of Datasets

    I am wondering if anyone has run into this problem before and
    checking to see if anyone has an elegant solution.
    I have a rather large data set. (actually 5 of them on a
    single page) I am sorting certain columns in a table as numbers so
    i assign the variable " ds1.setColumnType("somenumbercolumn",
    "number")" In most cases Spry works great and it sorts by numbers
    properly. The problem is some of the fields in the XML file are
    null and I am trying to sort them as a number. Spry actually
    adjusts for this (as far as i can tell) and treats them like a 0
    which isn't exactly ideal considering there are real zero values in
    the data. I know spry doesn't currently format numbers:
    So here is my question. Does anyone one have a solution to
    fixing null values in a table so that it is still sortable but
    doesn't display a "0" and instead displays something like "--" or
    whatever. I have the option of editing the XML file as well, but I
    still need the table to sort by number.
    If not null values, how about non numeric fields which can
    still be sorted in a numeric column?

    Hi,
    We have an old post that raised a similar problem with yours.
    The post can be found
    here
    For you situation, you should add an if condition for the
    rows that have 0 and to add a custom string instead 0.
    for (var i = 0; i < numRows; i++)
    if(rows
    [ "field_name"] == 0)
    rows[ "field_name" ] = '--';
    Hope this helps you,
    Diana

  • How to format a numeric field in ES2 ?

    Hi...
    I'm trying to format a numeric field in LiveCycle designer using six digit and allowing zero's "000000"…
    I went to patterns for setting the format, unfortunately I couldn't know how figure it out?
    I’ve tried this pattern: null{}|zero{000000}|num.integer{}
    It didn’t work!
    what actually I’m looking for is six digit at all time for instance if enter value of 1 in the field expect to appear 000001 ,and if i enter value 567 the appearance will be 000567 in the field and so on...etc.
    Another issue is how to validate a range of numeric value like 000001-999999 so that the input will be only restricted by those values…
    Hope this is clear! And sorry for my bad English
    Best Regards...

    Hi,
    could you please share your solution?
    I have a similar problem. I need to allow zeros before my integers to be inputed to the form.
    thanks.
    Please see my posting here:
    http://forums.adobe.com/thread/870306?tstart=0

  • How to right align a read only numeric field in a panel form layout

    Hi, does anyone know how to right align a read only numeric field in a panel form layout? I am using: Style Class = AFFieldNumberMarker, but it only seems to work if the field is disabled. Disabling the field gives it a difference appearance that does not look right on our forms. These are calculated fields, which cannot be modified, so read only is necessary.
    I have looked online for some answers, and it seems that others are having similar issues.
    I have tried different combinations for the properties, but so far I cannot get it to work.
    Thanks
    Judy
    I am using JDEV 11.1.1.5

    Sorry for the delay in my response. Here is the code
    <af:inputText value="#{bindings.TotalAirlineCostEst.inputValue}"
    label="#{bindings.TotalAirlineCostEst.hints.label}"
    required="#{bindings.TotalAirlineCostEst.hints.mandatory}"
    columns="#{bindings.TotalAirlineCostEst.hints.displayWidth}"
    maximumLength="#{bindings.TotalAirlineCostEst.hints.precision}"
    shortDesc="#{bindings.TotalAirlineCostEst.hints.tooltip}"
    id="it20" readOnly="false"
    disabled="true"
    styleClass="AFFieldNumberMarker">
    <f:validator binding="#{bindings.TotalAirlineCostEst.validator}"/>
    <af:convertNumber groupingUsed="true"
    pattern="#{bindings.TotalAirlineCostEst.format}"
    type="number"
    maxFractionDigits="0"/>
    </af:inputText>
    thank you,
    Judy

  • Script for validating Text fields or numeric fields

    I'm looking for a simple script that will check the entered data in a specific field.If i enter numbers in the name/last name field i should get a pop up message that entering numbers in this field are not allowed.
    (And vice versa regarding numeric fields).
    What is the script for that ?

    Hi,
    try this:
    //var reg = /^\d+$/;    // checks whether input contains ONLY digits
    var reg = /\d+/;    // checks whether input contains digits AND letters
    var check = reg.exec(xfa.resolveNode("#subform[0].#field[0]").rawValue);
    if (check == null)
        app.alert("Everything's fine!");
    else
        app.alert("Entering digits is not allowed!");
    You may want to replace
    #subform[0] with the name of the subform the field to check is located in and
    #field[0] with the name of the field to check for digits.
    Also, you may want to select any of the regular expressions, which fits best your needs. See comment in the above code-fragement for further information.
    Regards,
    Steve

  • Numeric fields not aligned correctly in report preview

    Hi
    I have the next problem:
    On my report, I aligned the numeric fields to the right of a column, but when i run the preview on ASP, the numeric fields are aligned to the left.
    But when I export the report to PDF, the numbers align correctly.
    I figured out a workaround to this, introducing the numeric fields into text fields, since they do align correctly. The problem is that I have too many reports to apply this workaround to all of them.
    Could it be a known issue of Crystal Reports XI?
    Is there any other workaround?
    Thanks in advance

    Hi Poonam
    Maybe I wasn't quite explicit before,
    In preview mode my report displays correctly as well. The problem comes when I run it through an ASP, which is needed for my application.
    I'm running the CR version 11.5.0.313. I was asking if it could be a known issue of XI version because when I had version 9 I didn't have this problem.
    It could also be that through the time, I changed something in the way the report is displayed, and didn't realize about that before, but I haven't been lucky to notice any change related.
    Thanks for your time,
    Gil
    Edited by: Gil Gonzalez on Oct 21, 2008 12:11 AM

  • MS Excel automatically converts numeric fields to date format

    I have at least 2 different spreadsheets where this happens.  I maintain them for months, adding, changing, deleting data.  They contain lots of data elements (numeric, text, date, etc).   Some columns are all numeric, some all dates,
    etc.  Then suddenly when I open the spreadsheet, my numeric formatted data has been converted to date format.  I see lots of # signs in cells, which is an indication that this happened, and selecting an affected cell shows a date, generally in the
    early 1900s, depending on the original numeric value that was in the cell.  I convert the fields back to numeric, but sometime later the same problem occurs -- numeric fields are now date formatted.  I cannot identfy any specific change that I make
    that would cause this.  And I only recognize it as having occurred when I open the spreadsheet, not anytime during its maintenance.  I am using MS Excel 2007 SP2 in a Windows XP SP3 environment.  The machine is well maintained and updated /
    kept current by our corporate IT group.  I have done numerous Internet searches and cannot find anything like this in any other blog.  Thanks for your help.

    Hi,
    Were some of the these data imported from a .csv file? As far as I know, data formats cannot be saved in .csv file. If this is the situation, try this:
    Save a copy of your .csv file changing the extension of your file from .csv to .txt
    open excel.
    go to DATA --> Import external data --> Import data --> browse to find the .txt file you made earlier
    The text import wizard should open.
    Click on delimited, click next
    click comma, click next
    You should now see all columns appear with heading GENERAL --> highlight the columns with the values that are changing to date and click TEXT (top right) instead. The heading of these columns should now change to TEXT.
    click finish
    Excel will now treat the column as text when it imports the data and will not change them to dates
    If this is not the situation, this issue might be caused by some add-ins.
    Start Excel in safe mode:  Press and hold the
    CTRL key, and then click the Excel program to start. Then, click File > Open to open the Excel file.
    If the problem does not occur in the safe mode, this issue might be related to some third-party add-ins in the Office program, we can try to disable them.
    Best Regards,
    Sally Tang

  • Displaying no default zeroes for the numeric field in the table display.

    hi folks,
         I am binding a table in the context which has some numeric fields. I'm  displaying the same table which has some records for editing purpose. But the problem is that the numeric  field column is being displayed with zeros if it doesnot have any value in it. Can u explain how to disable the zeroes by not displaying them by defualt when there is no value for the numeric field.
    regards,
    Ramu

    set the format of the context attribute TEST is the context attribute name
    data: lr_info type ref to if_wd_context_node_info.
    data: ls_prop type WDY_ATTRIBUTE_FORMAT_PROP.
    lr_info = wd_context->get_node_info( ).
    ls_prop = lr_info->GET_ATTRIBUTE_FORMAT_PROPS( name = 'TEST' ).
    LS_PROP-NULL_AS_BLANK = 'X'.
    lr_info->sET_ATTRIBUTE_FORMAT_PROPS( name = 'TEST'
                 FORMAT_PROPERTIES = ls_prop ).
    Abhi

  • How to set a numeric field to the difference of two dates?

    hi,
    I need to create a table with a field containing a date (by def. current date) and another numeric field whose value is to be set to the difference (in days) between the current date and the date field. Something like this.
    CREATE TABLE Tabdate
    (fdate date default sysdate,
    difference number default (sysdate-fdate))
    I get this error:
    column not allowed here
    How can I do? please help me
    thanks
    Antonio

    You cannot set field values as defaults. Create a pre-insert/update-trigger instead.

  • PARTIAL SEARCH ON A NUMERIC FIELD

    Hi,
    i have one field zzoldwbs which is a numeric field. i want to have a wild card on that field like when a user enter 1* so all the data starting from 1 should be retrieved.the field have a data of 10digits and user can apply wild card on any digit .but i am failing to use wild card as it is very complicated so..how to use wild card on a  numeric field.

    Yes, you mustn't change your original field, but you can define a 10 char help field where you fill in your field content from your numeric field and search on this field! I don't think that your search wil be available in the numeric field, especially when you are looking for a (non-leading) 0 (zero).
    Regards,
    Klaus

  • Leading zeroes in a Numeric Field, Don't want.

    I have a Numeric Field set up to hold 9 numbers for a zip code using  Display Pattern 999999999.
    When I only put in 5 numbers I get leading zeroes.
    I only want to display the numbers I put in.
    Sometimes I will have zip code of 9 numbers and other times only 5.
    What am i missing?
    Thank you.

    Thank you, it worked.  I used the TextField and set up the Display Pattern of all z's.
    This way I'm able to enter the hyphen and the last 4 digits of the zip and if there is no extra 4 digits then the 5 zip code will appear without zeros.
    Thanks again.

  • Strip comma from a numeric field

    Hi all,
    Will you please help me providing sql statement to strip commas from a number/numeric field in the BI repository logical column? I do not want to use cast function to convert to character because we need to keep that field as numeric.
    I could only find string expressions to remove commas. I appreciate your help.
    Thanks,

    user10974817 wrote:
    Hi all,
    Will you please help me providing sql statement to strip commas from a number/numeric field in the BI repository logical column? I do not want to use cast function to convert to character because we need to keep that field as numeric.
    I could only find string expressions to remove commas. I appreciate your help.
    Thanks,Commas in a Numeric field, I could not understand it. It must be a VARCHAR column with only Numeric data, is it?
    you can use something like
    with data(col) as
      select '10,000,000' from dual
    select replace(col, ',') rep, translate(col, '1234567890,', '1234567890') tr
      from data;Maybe, if you can post some example table and sample data, we might be able to help better.

  • Save Not Applicable(NA) as response to hundreds of required numeric fields

    We have to save Not-Applicable as a possible response to hundreds of required fields on a data entry form for numeric/statistical values on fund performance. The intent is to query/perform data analysis on fund performance trends after the initial data collection.
    Is there any built-in data type support to store this value without having to define an additional flag column for each numeric field, similar to using NotANumber(NAN) with a column defined as BINARY_FLOAT/BINARY_DOUBLE data type? Is there any serious limitations with using BINARY_FLOAT/BINARY_DOUBLE data type instead of NUMBER? Curious about the loss of precision with floating point numbers and impact on running analytics on data.
    We are on Oracle 11.2

    user10311428 wrote:
    We have to save Not-Applicable as a possible response to hundreds of required fields on a data entry form for numeric/statistical values on fund performance. The intent is to query/perform data analysis on fund performance trends after the initial data collection.
    Is there any built-in data type support to store this value without having to define an additional flag column for each numeric field, similar to using NotANumber(NAN) with a column defined as BINARY_FLOAT/BINARY_DOUBLE data type? Is there any serious limitations with using BINARY_FLOAT/BINARY_DOUBLE data type instead of NUMBER? Curious about the loss of precision with floating point numbers and impact on running analytics on data.
    We are on Oracle 11.2Have you considered simply alloweing the columns to allow NULL, with NULL indicating N/A? In a sense, NULL (undefined value) is the ultimate "not applicable".

Maybe you are looking for

  • Balance carry forward - Problem

    Dear Freinds, We have not done balance carry forward in our company code yet. our FY is Jan to Dec. IN FAGLB03, I noticed that some figures are sitting as balance carry forward which is not correct figure. Please advise the reason for this. Thanks. S

  • Add Fields from table ADRC (Fields Name 1 to 4) for Open Item Processing

    Hi SAP Expert: Our client requires vendor/customer name to be displayed in the open item processing line layout for transaction code f-58, so they can double check if the vendor name is complete as intended.  We intend to add fields from table ADRC i

  • How to add cell editor to cell variant dynamically?

    Hi everyone,   I'm developing a web dynrpo component. In one of the views , I need to modify the view dynamically because the data structure only can be determined at runtime. And the table column should have two cell variants. I don't know the exact

  • Itunes has stoped working

    Hi, I'm having the same problem as some other users - http://discussions.apple.com/thread.jspa?threadID=2271002&tstart=0 I've used itunes for years without probs but the other night it started crashing. Here is the vista problem log: Problem signatur

  • Preceding error in select query

    Hi, I am executing select query using db link and getting an error : ora:-01401: inserted value too large for column ora:-02063 preceding line from catalyst_promo Below is my query. can anybody please suggest what is the error SELECT GLOM.* ,NVL2(FLA