Results 1 to 4 of 4
  1. #1
    dvgef2 is offline Novice
    Windows 8 Access 2013
    Join Date
    Mar 2013
    Posts
    25

    Integer Data Type

    Good Day to Everyone!

    I have a very dumb question and I have been avoiding it because it sounds dumb. However, I really don't know the answer and I have researched it but I can't find the answer directly. I have read different things about the integer data type and I am somewhat confused about it. I have a database that keeps track of work orders, the work order number is an integer data type that starts at 1 and we are currently at Work Order# 60. How many work orders can be generated with this data type? I thought it would be 32, 700+ but I read something somewhere that leads me to believe that it may only be 255. I don't like not giving enough information but I think the only relevant thing you would need to know is that when a new work order gets generated, it receives the next higher number in sequence....Any help is always appreciated, thanks!

    Dave

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    You are correct, it would be 32,767. 64k if you use the negative numbers.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    dvgef2 is offline Novice
    Windows 8 Access 2013
    Join Date
    Mar 2013
    Posts
    25
    Thanks Paul, I was hoping that you would say that!

    I am not sure what this story meant when they talked about the '255' limitation with the integer data type because I am just not smart enough. I started thinking that maybe you can use any number between (+/-) 32,767 but only 255 times. I used integer data type a lot because I have been told my data bases use too many resources. Again, I don't even know what that means but I tried to use less resources on this one.

    Thanks again. I really appreciate your comments, you have been extremely helpful to me during my Access woes! Have a good day!

    Dave

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Happy to help Dave!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 05-31-2013, 04:32 PM
  2. one table per data type?
    By kman42 in forum Database Design
    Replies: 1
    Last Post: 06-05-2011, 03:40 PM
  3. Adding column as INTEGER makes it a long integer?
    By luckycharms in forum Programming
    Replies: 2
    Last Post: 10-20-2010, 02:47 PM
  4. Replies: 2
    Last Post: 03-18-2010, 08:24 PM
  5. data type mis match
    By cowboy in forum Programming
    Replies: 3
    Last Post: 03-12-2010, 11:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums