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 » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Refresh a listbox



 
 
Thread Tools Display Modes
  #1  
Old March 24th, 2010, 09:00 PM posted to microsoft.public.access
Robert_DubYa
external usenet poster
 
Posts: 60
Default Refresh a listbox

I have a list box where the data from the table that populates the list box
is deleted. It is re-populated later on. How do I refresh the data in the
listbox? It currently just says "Deleted". I want the new values to appear
in the listbox.

thanks,
Robert
  #2  
Old March 24th, 2010, 09:35 PM posted to microsoft.public.access
Gina Whipp
external usenet poster
 
Posts: 3,500
Default Refresh a listbox

Robert,

Something like...

Me.ListBox.Requery

....in the Event of the button that deletes the data.

--
Gina Whipp
2010 Microsoft MVP (Access)

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

"Robert_DubYa" wrote in message
news I have a list box where the data from the table that populates the list box
is deleted. It is re-populated later on. How do I refresh the data in the
listbox? It currently just says "Deleted". I want the new values to appear
in the listbox.

thanks,
Robert

 




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 03:47 PM.


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