Results 1 to 5 of 5
  1. #1
    BWGreen is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2014
    Posts
    13

    Add unbound text box

    I know I'm missing something basic here! I'm creating a search form for my database, and I'm having an issue when I try to add a text field to it. It only wants to let me create a textbox that is bound to a field - which I'm trying to avoid, since I am searching multiple fields for the data. If I don't associate a field, I get an error #Name?. Any ideas? I'm using Access 2010.



    Thanks,

    Brian

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    No, text boxes do not have to be bound.
    Delete text in the property..CONTROL SOURCE. (data tab of the properties sheet)

  3. #3
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    ranman256 is right; Textboxes do not have to be Bound to a Field in a Table. The #Name error indicates that the Textbox is, in fact, bound to a Field or to an expression, and Access either cannot find the Field or cannot execute/resolve the expression.

    It's possible that at one time you had something in the Control Source and tried to delete it, accidentally leaving some remnant behind; periods (dots) left in property boxes are almost impossible to see. Check the Control Source and delete everything from it, as ranman256 said. If that doesn't resolve the problem, my guess would be that there is corruption involved. If you can, in fact, create a new Unbound Textbox, then the problem was that the Textbox Control was corrupt; Controls can and do become corrupted. If creating a new Textbox doesn't resolve the problem, either the Form or the database, itself, is likely corrupted.

    Linq ;0)>

  4. #4
    BWGreen is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2014
    Posts
    13
    Thanks - there was something in the Control Source field. Once I removed that, it worked as I wanted!

  5. #5
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Glad you got it fixed!

    Welcome to the forum!

    Linq ;0)>

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

Similar Threads

  1. Information text on unbound text box
    By randle in forum Forms
    Replies: 3
    Last Post: 06-28-2013, 11:43 AM
  2. Replies: 2
    Last Post: 06-11-2012, 09:37 AM
  3. Unbound Text
    By cbrsix in forum Reports
    Replies: 16
    Last Post: 10-27-2011, 01:27 PM
  4. Unbound Text Box Formatting
    By Pam Buckner in forum Forms
    Replies: 2
    Last Post: 10-14-2011, 01:31 PM
  5. Unbound text box truncating text
    By gddrew in forum Forms
    Replies: 0
    Last Post: 03-02-2006, 11:26 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