Results 1 to 9 of 9

Error (#Size) Error (#Type)

  1. #1
    Kundan is offline Advanced Beginner
    Windows XP Access 2013 32bit
    Join Date
    Mar 2018
    Posts
    46

    Error (#Size) Error (#Type)


    In one of my subreports I get an error(#Size) for some values. What ato do?
    Similarly, I get an error(#Type) for some values. What to do?

  2. #2
    ridders52's Avatar
    ridders52 is offline Voodoo Is Practised
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    2,006
    Quote Originally Posted by Kundan View Post
    In one of my subreports I get an error(#Size) for some values. What ato do?
    Similarly, I get an error(#Type) for some values. What to do?
    What to do?
    Provide more details of the errors so someone can answer properly
    Colin (Mendip Data Systems), Website, email
    If this has helped, please click the star button and leave a comment
    nil illegitimi carborundum est

  3. #3
    Kundan is offline Advanced Beginner
    Windows XP Access 2013 32bit
    Join Date
    Mar 2018
    Posts
    46
    Quote Originally Posted by ridders52 View Post
    What to do?
    Provide more details of the errors so someone can answer properly
    Vmdr Rs.3,000.00
    F-04683 R. Gnana Guruparan Malaysia Rs. 10,000.00 Ashram L
    F-04684 Bimal Sharma Malaysia Rs. 6,000.00 AK L
    F-04685 Major ( R ) Sachithananthan Malaysia Rs. 5,000.00 SCLRF L
    F-04686 Koh Lek Heok Malaysia Rs. 5,000.00 SCLRF L
    F-04697 Kamal Bhatt & Prakirti Bhatt Australia Rs. 5,000.00 SCLRF D
    Rs. 10,000.00 AK
    F-04698 Ketan Bhatt Australia Rs. 10,000.00 AK D
    F-04699 Asha Ramith South Africa Rs. 2,500.00 Ashram RO
    F-04700 Radha Ramluckan South Africa Rs. 1,000.00 Ashram RO
    TOTAL #Size!

  4. #4
    ridders52's Avatar
    ridders52 is offline Voodoo Is Practised
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    2,006
    Ok but are you just summing the numerical part? Is it number datatype? Integer? Double? Or what?
    Still not enough info to assist.

    And what about the #Type error you also mentioned?
    Colin (Mendip Data Systems), Website, email
    If this has helped, please click the star button and leave a comment
    nil illegitimi carborundum est

  5. #5
    Kundan is offline Advanced Beginner
    Windows XP Access 2013 32bit
    Join Date
    Mar 2018
    Posts
    46
    Quote Originally Posted by ridders52 View Post
    Ok but are you just summing the numerical part? Is it number datatype? Integer? Double? Or what?
    Still not enough info to assist.

    And what about the #Type error you also mentioned?
    Yes I am summing the numerical part Double.

    In a similar case in another report a #Type error occurs for Totals.

  6. #6
    ridders52's Avatar
    ridders52 is offline Voodoo Is Practised
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    2,006
    You are still not providing useful information.
    How do you expect anyone to be able to provide a sensible answer to this
    In a similar case in another report a #Type error occurs for Totals.
    In an attempt to move this forward, I copied the info in post 3 to a text file, imported it to Access, separated out the currency values, saved as double (as you stated)
    I then created a report with totals in the report footer
    As you can see, it works fine.

    Click image for larger version. 

Name:	Kundan.PNG 
Views:	11 
Size:	20.3 KB 
ID:	33590

    See attached
    Attached Files Attached Files
    Colin (Mendip Data Systems), Website, email
    If this has helped, please click the star button and leave a comment
    nil illegitimi carborundum est

  7. #7
    Kundan is offline Advanced Beginner
    Windows XP Access 2013 32bit
    Join Date
    Mar 2018
    Posts
    46
    Quote Originally Posted by ridders52 View Post
    You are still not providing useful information.
    How do you expect anyone to be able to provide a sensible answer to this


    In an attempt to move this forward, I copied the info in post 3 to a text file, imported it to Access, separated out the currency values, saved as double (as you stated)
    I then created a report with totals in the report footer
    As you can see, it works fine.

    Click image for larger version. 

Name:	Kundan.PNG 
Views:	11 
Size:	20.3 KB 
ID:	33590

    See attached
    Tank You for all the trouble you have taken. But the errors occur occassionally. I will have to monitor under which circumstances these occur. I will also have to check the querry on which the report is based.

  8. #8
    Kundan is offline Advanced Beginner
    Windows XP Access 2013 32bit
    Join Date
    Mar 2018
    Posts
    46
    Thank You for all the trouble you have taken. But the errors occur occassionally. I will have to monitor under which circumstances these occur. I will also have to check the querry on which the report is based.

  9. #9
    NTC is offline VIP
    Windows 10 Access 2013
    Join Date
    Nov 2009
    Posts
    2,392
    If the errors occur occasionally then the cause is probably the data itself. You probably are getting non numerical values in fields - sometimes they aren't even visible i.e. space or special character... in which case you need to do a character count to check....

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

Similar Threads

  1. Replies: 7
    Last Post: 07-24-2013, 01:01 PM
  2. Error: Run-time error '13' Type mismatch
    By uronmapu in forum Access
    Replies: 1
    Last Post: 09-07-2012, 04:38 AM
  3. #Size Error
    By thedanch in forum Forms
    Replies: 12
    Last Post: 07-20-2012, 12:27 PM
  4. Replies: 1
    Last Post: 05-11-2012, 09:59 AM
  5. Error 13 Type Mismatch error
    By GlennBurg in forum Programming
    Replies: 1
    Last Post: 06-21-2011, 02:05 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
  •  
Tech Forums: Microsoft Office Forums