Refresh a listbox

R

Robert_DubYa

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
 
G

Gina Whipp

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

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top