Results 1 to 3 of 3
  1. #1
    Thomas Print is offline Junior Member
    Join Date
    May 2010
    Posts
    1

    Default uDirect very long numbers get truncated

    If a field in the database contains a number longer than 16 digits the number get truncated (round off)


    Field Phonenumber 18 digits
    Data 111222333444555666

    Result:
    111222333444555660

    Anyone have a clue to solve this issue!

    Thomas

  2. #2
    JasonFF's Avatar
    JasonFF is offline Senior Member
    Join Date
    Nov 2009
    Location
    Edmonton, Ab
    Posts
    115

    Default

    My guess is it has to do with the database itself. I would try resaving to a CSV. I might also try using Excel to set the data type for the column to Text and saving as an XLS. I've had this kind thing resolve issues with numbers not working properly before.

  3. #3
    Mark H's Avatar
    Mark H is offline Senior Member
    Join Date
    Dec 2009
    Location
    Maine, USA
    Posts
    112

    Default

    Tom,

    The problem is with the data type being used to store the number. The type assigned to that database field isn't long enough to store the phone number as formatted. My strong suggestion is to change the field type from a number (it's probably a long integer now) to a string field. This will also allow you to store formatting in the field if you so desire; IE (207)123-5555.

    Mark H


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Sponsors

Esko Sponsored Content