Results 1 to 4 of 4
  1. #1
    Carmine is offline Novice
    Windows 10 Access 2010 32bit
    Join Date
    Apr 2019
    Posts
    11

    Open form with text box blank

    THE SITUATION: I have a form that contains a combo box and a text box. The purpose of the form is to correct data misspellings or inaccuracies in a table, call it the “NameTable”. This is limited to only one NameTable field, “PartName”. When the combo box is activated and a PartName selection is made, that PartName appears in the text box. The user can then make corrections and save then them. This situation works perfectly.



    THE PROBLEM: When the form opens, the combo box is blank, but the text box contains the first PartName in the NameTable.

    WHAT I WANT: When the form opens, the combo box is blank, but I want the text box also to be blank, that is until a combo box selection is made, then the user can make corrections and save them.

    Thanks in advance,

    Carmine

  2. #2
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,818
    Hi Carmine

    Can you upload a copy of the Database with no confidential data?

  3. #3
    davegri's Avatar
    davegri is offline Excess Access
    Windows 11 Office 365
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,740
    You will need to make the textbox unbound.
    The after update event of the combox can populate the textbox.
    The after update event of the textbox will need to trigger an update query to update the correct record in NameTable with the contents of the textbox.

  4. #4
    madpiet is offline Expert
    Windows 10 Office 365
    Join Date
    Feb 2023
    Posts
    564
    Quote Originally Posted by Carmine View Post
    THE SITUATION: I have a form that contains a combo box and a text box. The purpose of the form is to correct data misspellings or inaccuracies in a table, call it the “NameTable”. This is limited to only one NameTable field, “PartName”. When the combo box is activated and a PartName selection is made, that PartName appears in the text box. The user can then make corrections and save then them. This situation works perfectly.

    THE PROBLEM: When the form opens, the combo box is blank, but the text box contains the first PartName in the NameTable.

    WHAT I WANT: When the form opens, the combo box is blank, but I want the text box also to be blank, that is until a combo box selection is made, then the user can make corrections and save them.

    Thanks in advance,

    Carmine
    Neither here nor there answer, but if you can find all the misspellings and add them to a table, you can add a column to it and add another column and add the correct spelling. Then you just do it once.

    UPDATE MyTable mt
    SET mt.[ValuesSpelledWrong] = ct.[ValuesSpelledRight]
    WHERE mt.[ValuesSpelledWrong] = ct.[ValuesSpelledWrong]

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

Similar Threads

  1. Replies: 1
    Last Post: 01-31-2018, 04:06 PM
  2. Advise needed blank database or blank Web Database
    By Derrick T. Davidson in forum Access
    Replies: 0
    Last Post: 04-25-2013, 09:13 PM
  3. Replies: 11
    Last Post: 11-28-2012, 04:29 PM
  4. Replies: 4
    Last Post: 05-11-2011, 03:06 AM
  5. Replies: 1
    Last Post: 09-05-2008, 12:07 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