Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2005

    Unanswered: Clearing Text Boxes on Form with Button?


    I have a product entry form that I need some assistance with clearing fields.. When entering products, many of the fields have similar values from one product to the next, so when a user saves a record, the values from the previous record stays on the forms fields values and then the user will make the necessary edits and save the next record.

    However, when a user needs to enter a completely new type of item, I am attempting to place a button on the form that is captioned "Clear Form". For this action, I am using the Me.Undo as my command.

    This works for all fields that are linked to the table, however, I have several text box fields that are concatenated together during the save record function. These boxes DO NOT clear when pressing the "Clear Form" button. What do I need to add to my SUB to clear each Text Box as well?


  2. #2
    Join Date
    Mar 2003
    The Bottom of The Barrel
    Provided Answers: 1
    Me.Textbox = ""
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

  3. #3
    Join Date
    Dec 2005
    Thanks Teddy, worked great!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts