Results 1 to 4 of 4
  1. #1
    New Lounger
    Join Date
    Jul 2017
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to save larger number in in ms access

    i use ms.access for my database. i save data Barcode in the table and the field type is long integer. But i get error from ms.access when i input the barcode data. i think the problem is because barcode data is up to 10 digits.

    i think long integer type can't input up to 10 digits number. what should i do?

  2. #2
    WS Lounge VIP access-mdb's Avatar
    Join Date
    Dec 2009
    Location
    Oxfordshire, UK
    Posts
    2,052
    Thanks
    169
    Thanked 195 Times in 187 Posts
    What are you using the field for? If it's just storing the number as text, then I would suggest making it a text field. I don't know what you would do if you are hoping to use it in a formula (i.e. actually as a number)
    Eliminate spare time: get on the Internet!

  3. #3
    WS Lounge VIP access-mdb's Avatar
    Join Date
    Dec 2009
    Location
    Oxfordshire, UK
    Posts
    2,052
    Thanks
    169
    Thanked 195 Times in 187 Posts
    Sorry, lack of manners - welcome to the Lounge as a new user
    Eliminate spare time: get on the Internet!

  4. #4
    Gold Lounger
    Join Date
    Jun 2001
    Location
    Crystal Beach, FL, Florida, USA
    Posts
    3,470
    Thanks
    1
    Thanked 40 Times in 39 Posts
    As "access" asked, is it really necessary that this be stored as a numeric field? If it is really necessary, you might consider changing the format to Currency. That gives you 15 positions to left of decimal. You can format it any way you want, so it doesn't have to be presented as currency.
    Mark Liquorman
    See my website for Tips & Downloads and for my Liquorman Utilities.

  5. The Following User Says Thank You to MarkLiquorman For This Useful Post:

    access-mdb (2017-07-08)

Tags for this Thread

Posting Permissions

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