Results 1 to 7 of 7
  1. #1
    FrenchUser is offline Novice
    Windows Vista Access 2007
    Join Date
    Jun 2012
    Posts
    4

    Form will not use textboxes from form, gives #Name?

    Hi, first thank you for all your help, reading these forums has been a life saver for creating my database. One question: I created a textbox with the record set:



    =IIf([Combo41]>=[Combo37] And [Combo41]>=[Combo39],[Combo41],IIf([Combo37]>=[Combo39],[Combo37],[Combo39])).

    And it worked well until I saved, closed, and reopened the database. Now it shoes #Name?. From the forums I recognize that the problem probably is in the field list, but I'm not sure how to fix it.
    I would welcome any suggestions, thanks again for all the help.

  2. #2
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Check the names of the combo boxes.
    The "#NAME" error usually means that Access cannot find a control with that name.

    I always rename the control to something more meaningful...... to me, at least

  3. #3
    FrenchUser is offline Novice
    Windows Vista Access 2007
    Join Date
    Jun 2012
    Posts
    4
    ssanfu, Thank you very much for your relpy. Unfortunately, I've tried checking the names of the combo boxes, and changing them, but I still get the same error. Now, when I try to just type =Combo41, the name does not even come up. Does this indicate a different problem? Thank you again for your help.

  4. #4
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Maybe the form is corrupt??? Have you tried a "Compile and Repair"?

    Create a new form and add just the combo boxes and the text box. Do you get the correct value in the text box?

  5. #5
    FrenchUser is offline Novice
    Windows Vista Access 2007
    Join Date
    Jun 2012
    Posts
    4
    I did try to compile and repair, which did not solve the problem. If I create a new form, it does work. I will recreate the form then, thank you for your help. For the future, do you know why this may have happened so I can avoid it when I recreate the form?

  6. #6
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664



    I think it could be the result of the "Butterfly Effect".
    Or maybe a Quark rotated the wrong direction.... or ???
    Sometimes, things just happen....

  7. #7
    FrenchUser is offline Novice
    Windows Vista Access 2007
    Join Date
    Jun 2012
    Posts
    4
    Well, thank you for the help, I really appreciate it!

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

Similar Threads

  1. Reports and Textboxes
    By jmenz in forum Reports
    Replies: 1
    Last Post: 03-25-2012, 08:38 PM
  2. Problem with sum of three textboxes.
    By SFC in forum Reports
    Replies: 3
    Last Post: 02-01-2012, 10:10 AM
  3. Formating Textboxes
    By desibabu90 in forum Forms
    Replies: 6
    Last Post: 08-02-2011, 07:48 AM
  4. Combo Box Populates Textboxes
    By alyon in forum Access
    Replies: 11
    Last Post: 07-19-2011, 11:55 AM
  5. #Name? errors with textboxes
    By jasonbarnes in forum Forms
    Replies: 3
    Last Post: 12-16-2010, 09:51 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