A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Reset Textbox Contents



 
 
Thread Tools Display Modes
  #1  
Old August 19th, 2004, 02:51 PM
Andrew Wilkins
external usenet poster
 
Posts: n/a
Default Reset Textbox Contents

This is a really simple question...

How can I set Access up so that, when I left-click a textbox, it clears
whatever is currently displayed in it. This is an annoying problem as
currently I have a search box and the user must first delete the previous
search number before entering a new number.

Help!
  #2  
Old August 19th, 2004, 03:00 PM
r0adh0g
external usenet poster
 
Posts: n/a
Default

In the on GotFocus event set the textbox to ""

Private Sub TextBox_GotFocus()
Me.TextBox = ""
End Sub


"Andrew Wilkins" wrote in message
...
This is a really simple question...

How can I set Access up so that, when I left-click a textbox, it clears
whatever is currently displayed in it. This is an annoying problem as
currently I have a search box and the user must first delete the previous
search number before entering a new number.

Help!



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
textbox formatting problem jeffrey c Powerpoint 4 August 21st, 2004 10:09 AM
Numbering versus my table of contents Allan S. Warrior General Discussion 6 August 18th, 2004 08:51 AM
Column E cell contents added into Column D contents (not overwriting data but mixing) creativetechguy General Discussion 2 August 5th, 2004 07:32 PM
Text (not headings) that needs to appear in TOC Linda Formatting Long Documents 2 June 4th, 2004 08:03 PM
Table of Contents Colleen Page Layout 5 May 26th, 2004 10:21 PM


All times are GMT +1. The time now is 11:25 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.