Results 1 to 6 of 6
  1. #1
    Coffee is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jul 2011
    Location
    Australia
    Posts
    31

    OverFlow Error.

    Hello,



    I am exporting my data from a Microsoft Access Report to a Excel speardsheet and occasionally i receive an error which just displays "Overflow".

    - When i try export a full days data i receive an Overflow error. however if i export half the day and then the other half. both parts export without an error so it cant be a numeric issue.

    i also read this on another forum.

    "Most likely it means that the size of a numeric value that is being imported
    into a table is *too large* or *too small* for the field type. For example,
    a field that is set for Integer can handle values between -32,768 and
    32,767. If you try to put the number 1,000,0000 into this field, the
    "overflow" message error will occur."

    -when i export it will export fine up to 32,724 data values fine, but if i try to export any more i receive the overflow error. could this be related? because there is no integer value that is recording this. or is it built into excel and counting the values as integer and then overflows?

    i am at a loss, feel free to comment for more information or too help,

    thanks in advance!

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I'm pretty sure that is the limit of rows for a spreadsheet in < Excel 2007.

  3. #3
    ssanfu is offline Master of Nothing
    Windows 2K Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    I'm pretty sure that is the limit of rows for a spreadsheet in < Excel 2007.
    I just checked Excel 2000 and the max is 65,536 rows. But that is a blank sheet.......

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Quote Originally Posted by ssanfu View Post
    I just checked Excel 2000 and the max is 65,536 rows. But that is a blank sheet.......
    Thanks Steve. I stand corrected there.

  5. #5
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    try exporting it to a csv file and see what happens, just mentioning this because csv files can be opened with excel without any issue and if it is a problem with the number of records a .csv can handle that a bit better.

  6. #6
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    Quote Originally Posted by Coffee View Post
    Hello,

    I am exporting my data from a Microsoft Access Report to a Excel speardsheet and occasionally i receive an error which just displays "Overflow".

    - When i try export a full days data i receive an Overflow error. however if i export half the day and then the other half. both parts export without an error so it cant be a numeric issue.

    i also read this on another forum.

    "Most likely it means that the size of a numeric value that is being imported
    into a table is *too large* or *too small* for the field type. For example,
    a field that is set for Integer can handle values between -32,768 and
    32,767. If you try to put the number 1,000,0000 into this field, the
    "overflow" message error will occur."

    -when i export it will export fine up to 32,724 data values fine, but if i try to export any more i receive the overflow error. could this be related? because there is no integer value that is recording this. or is it built into excel and counting the values as integer and then overflows?

    i am at a loss, feel free to comment for more information or too help,

    thanks in advance!
    the reason excel is limited to the amount of rows you can use is strictly a memory issue. It's based on the memory limits for the programs that you're using which has been set in the OS. See here for instance:

    http://office.microsoft.com/en-us/ex...010073849.aspx

    It's basically the same answer you get when you ask why you can't use a number bigger than 2147483647 for LONG data types in access. It's because the memory allocated for that data types is only allocated on a 32-bit basis. e.g. - When visual basic passes the LONG value to the processor, it's going to convert it into a binary bit string and it's only allowed to use 32 1's and 0's to interpret that value. Moreover, the rules change for DOUBLE data types. The processor is allowed to use more bits for interpretation purposes.

    Excel's limitations are a consequence of the same specification from the OS manufacturer. In this case, it's MS.

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

Similar Threads

  1. Overflow error - change field type in query?
    By Lady_Jane in forum Queries
    Replies: 6
    Last Post: 05-25-2011, 01:10 PM
  2. Replies: 4
    Last Post: 10-07-2010, 09:42 AM
  3. Replies: 2
    Last Post: 12-03-2009, 05:06 PM
  4. Run time error '6': Overflow
    By wasim_sono in forum Access
    Replies: 0
    Last Post: 06-22-2007, 06:44 AM
  5. "Overflow" error message.
    By joeferraro2000 in forum Queries
    Replies: 0
    Last Post: 03-08-2007, 06:36 PM

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