Results 1 to 2 of 2
  1. #1
    tomneedshelp is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Mar 2012
    Posts
    5

    How to create a clear button

    I need help creating a clear form button in access,
    can someone provide me the coding or instructions to help please.



    Thanks

  2. #2
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    In the on click event for the command button
    Code:
    me.Yourfieldname.value = Null
    me.requery

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

Similar Threads

  1. How to create a datasheet toggle button
    By tobydobo in forum Access
    Replies: 7
    Last Post: 02-06-2012, 01:12 PM
  2. Use a button to create a query on the fly
    By DuWayne in forum Queries
    Replies: 2
    Last Post: 12-25-2011, 07:30 PM
  3. Button to Create New Record
    By Pam Buckner in forum Access
    Replies: 3
    Last Post: 10-14-2011, 09:46 AM
  4. Command button code to clear form
    By windwardmi in forum Forms
    Replies: 15
    Last Post: 11-21-2010, 03:21 PM
  5. Search and Clear button
    By polk383 in forum Programming
    Replies: 1
    Last Post: 08-30-2006, 08: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