Results 1 to 4 of 4
  1. #1
    jc_msa is offline Novice
    Windows 11 Office 365
    Join Date
    Dec 2022
    Posts
    12

    Cannot add text in textbox

    I have an unbound combobox for which I was not able to select any item. Rather than resolve this issue, I went the simpler route and added an unbound textbox which is Editable and NOT Locked. However I cannot enter any text into this textbox. The form Allows Edits.

    Why is it that I cannot edit any of my controls.

  2. #2
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    It may not be locked but may be disabled? Or does it appear normal and not greyed out? In that case, open a new form in design view and copy the control to it. If you can type in it in form view, the other form may be corrupt. If you can't type in it in the new form, the control may be corrupt. Then again, you wrote
    Why is it that I cannot edit any of my controls.
    but then posted as if the problem is with one control, so I'm leaning towards corrupt form.

    I take it that this "an unbound textbox which is Editable" means your form Allow Edits property is set to yes/true.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    jc_msa is offline Novice
    Windows 11 Office 365
    Join Date
    Dec 2022
    Posts
    12
    Thank you for your help.

    Issue resolved. Developer error!!

    I was setting Form AllowEdits = False in Form_Load().

  4. #4
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    Easy enough to know. In the immediate window you ask what you want to know. It's like the all-knowing Swami at the fair:

    ?Forms!myForm.AllowEdits << hit Enter and you should get True or False. Good for just about anything you want to know or test.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Replies: 3
    Last Post: 05-22-2019, 12:25 PM
  2. Replies: 3
    Last Post: 02-01-2018, 03:10 AM
  3. Replies: 6
    Last Post: 02-26-2016, 05:28 AM
  4. Replies: 1
    Last Post: 06-18-2014, 09:39 PM
  5. Replies: 8
    Last Post: 06-10-2013, 01:39 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