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  

clear a combo box search field



 
 
Thread Tools Display Modes
  #1  
Old January 20th, 2010, 08:03 PM posted to microsoft.public.access.forms
denise
external usenet poster
 
Posts: 388
Default clear a combo box search field

Aafter I select a name from the list it searches and brings up that persons
record. What do I need to put in the (event or macro) to clear the field
after it finds the person?

Thanks.
--
Denise B.
  #2  
Old January 20th, 2010, 08:49 PM posted to microsoft.public.access.forms
Jeanette Cunningham
external usenet poster
 
Posts: 2,190
Default clear a combo box search field

Something like

Me.[NameOfCombo] = Null


Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia


"Denise" wrote in message
...
Aafter I select a name from the list it searches and brings up that
persons
record. What do I need to put in the (event or macro) to clear the field
after it finds the person?

Thanks.
--
Denise B.



  #3  
Old January 20th, 2010, 08:51 PM posted to microsoft.public.access.forms
fredg
external usenet poster
 
Posts: 4,386
Default clear a combo box search field

On Wed, 20 Jan 2010 12:03:01 -0800, Denise wrote:

Aafter I select a name from the list it searches and brings up that persons
record. What do I need to put in the (event or macro) to clear the field
after it finds the person?

Thanks.


In the same event that you use to bring up that selected record add,
after the code to find the record:
Me.ComboName = Null

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
 




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


All times are GMT +1. The time now is 08:50 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.