** In Numeric fields - Clipper

This is a discussion on ** In Numeric fields - Clipper ; Hello, In checking databases with eroors I find ** in numric fields. Has anyone an idea how this can happen ? Thanks in advance...

+ Reply to Thread
Results 1 to 7 of 7

** In Numeric fields

  1. Default ** In Numeric fields

    Hello,

    In checking databases with eroors I find ** in numric fields. Has
    anyone an idea how this can happen ?

    Thanks in advance


  2. Default Re: ** In Numeric fields

    > In checking databases with eroors I find ** in numric fields. Has
    > anyone an idea how this can happen ?


    check for the lenght of the field and the length of the assigned value
    if u have only 2 spaces for numeric u can put number up to 99. If u put 100,
    ** will be put instead


    --
    Ciao
    Alessandro



  3. Default Re: ** In Numeric fields

    On May 21, 7:13 am, "Alessandro Antonangeli"
    <alc...@alcati.RemoveThis.com> wrote:
    > > In checking databases with eroors I find ** in
    > > numric fields. Has anyone an idea how this can
    > > happen ?

    >
    > check for the lenght of the field and the length
    > of the assigned value if u have only 2 spaces for
    > numeric u can put number up to 99. If u put 100,
    > ** will be put instead


    Also, -10 will end up the same way (in a length 2 numeric field).

    David A. Smith


  4. Default Re: ** In Numeric fields

    Lucas

    > In checking databases with eroors I find ** in numric fields. Has
    > anyone an idea how this can happen ?


    The following acan cause that problem
    Defined as -
    FLD1, N, 2, 0

    Try putting a larger number than will fit in the field

    FLD1 := 3000

    ? FLD1 // **

    You should also get an error, but your error handler might be suppressing that (if your using one)

    --
    CYA
    Steve



  5. Default Re: ** In Numeric fields

    Dear Stephen Quinn:

    On May 21, 7:51 am, "Stephen Quinn" <stevej...@SPbigpond.netAM.au>
    wrote:
    ....
    > You should also get an error, but your error
    > handler might be suppressing that (if your
    > using one)


    If the table is generated (or just populated) by a third-party
    application, there may be no exception raised available to VO.

    In other words, he may have inherited this problem. One of the
    problems of having a non-proprietary, accessible data platform is that
    other applications *can and do* access it.

    David A. Smith


  6. Default Re: ** In Numeric fields

    On 21 mei, 17:47, dlzc <d...@cox.net> wrote:
    > Dear Stephen Quinn:
    >
    > On May 21, 7:51 am, "Stephen Quinn" <stevej...@SPbigpond.netAM.au>
    > wrote:
    > ...
    >
    > > You should also get an error, but your error
    > > handler might be suppressing that (if your
    > > using one)

    >
    > If the table is generated (or just populated) by a third-party
    > application, there may be no exception raised available to VO.
    >
    > In other words, he may have inherited this problem. One of the
    > problems of having a non-proprietary, accessible data platform is that
    > other applications *can and do* access it.
    >
    > David A. Smith


    Thank you all for the responses. I didn't know that putting in a
    greater number gave this problem !


  7. Default Re: ** In Numeric fields

    Dear Lucas_be:

    On May 28, 2:23 am, Lucas_be <lucas...@advalvas.be> wrote:
    ....
    > Thank you all for the responses. I didn't know
    > that putting in a greater number gave this
    > problem !


    It is also possible for an application outside yours to populate a
    numeric field with a value larger than what it is formatted for, by
    "consuming decimal places". A field formatted ####.### could contain
    a value 99999.99, or even 99999999 (???). I have seen Visual Fauxpro
    do this, and other code may do this as well.

    David A. Smith


+ Reply to Thread

Similar Threads

  1. Accessing Numeric Fields in Objects with Dot Notation
    By Application Development in forum Javascript
    Replies: 2
    Last Post: 10-08-2007, 07:55 AM
  2. Convert Numeric to Text Fields, Help!!!
    By Application Development in forum ADO DAO RDO RDS
    Replies: 1
    Last Post: 09-26-2007, 01:10 PM
  3. Make Excel allow numeric fields as text
    By Application Development in forum XML SOAP
    Replies: 1
    Last Post: 09-13-2007, 01:09 PM
  4. Re: DataGridViewComboBoxes for numeric fields
    By Application Development in forum DOTNET
    Replies: 0
    Last Post: 05-14-2007, 04:00 PM
  5. Query numeric custom fields
    By Application Development in forum Inetserver
    Replies: 2
    Last Post: 09-22-2004, 06:46 AM