Results 1 to 5 of 5
  1. #1
    brharrii's Avatar
    brharrii is offline Advanced Beginner
    Windows XP Access 2010 64bit
    Join Date
    Jun 2012
    Location
    Seattle, WA
    Posts
    63

    Access 2010 - Report field returns error: #Size!

    I'm using the following code as the control source for a control on a report to display the weight and weight unit together.

    Code:
    =IIf(Nz([RetailCaseWeight],"")="","",[RetailCaseWeight] & [RetailCaseWeightUnits])

    When I run the report the object displays the following message: #Size!



    While in design view the object has a green flag in the corner that when highlighted tells me that it is an

    "Invalid control Property: Control Source"
    "circular Reference"


    Does anyone have any idea what my problem might be?

    Thanks!

  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,640
    Based on the error, I'd guess the textbox has the same name as one of the fields.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    brharrii's Avatar
    brharrii is offline Advanced Beginner
    Windows XP Access 2010 64bit
    Join Date
    Jun 2012
    Location
    Seattle, WA
    Posts
    63
    ah, so it does. I didn't realize that was a no no.

    I've corrected that and the green flag is no longer there. I still have the #Size! Error when I run the report though.

  4. #4
    brharrii's Avatar
    brharrii is offline Advanced Beginner
    Windows XP Access 2010 64bit
    Join Date
    Jun 2012
    Location
    Seattle, WA
    Posts
    63
    ah nevermind, that fixed it. When I changed the text box name it had changed the name of my control as well. Thanks again

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    No problem. That's a bit of a pet peeve of mine. The wizards and such will name the textbox the same as the field, then if you do something like you did, it barfs. Seems like it would be simple for it to add a default prefix to the control names when they're created.
    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: 2
    Last Post: 03-20-2013, 04:25 PM
  2. Replies: 3
    Last Post: 07-19-2012, 09:27 AM
  3. ACCESS 2010 DB size
    By jscriptor09 in forum Access
    Replies: 1
    Last Post: 02-21-2012, 10:32 AM
  4. Field size error
    By Newbie11 in forum Forms
    Replies: 8
    Last Post: 12-26-2011, 08:15 PM
  5. Field returns error when I import Text Files to Access
    By geng in forum Import/Export Data
    Replies: 3
    Last Post: 06-01-2010, 02:20 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