redraw a listbox

  • Thread starter Thread starter Peter Morris
  • Start date Start date
P

Peter Morris

what's the VB instruction to redraw a listbox after I've
changed the SQL in the row source?
 
I think what you're looking for is

me.nameoflistbox.requery

but it will need to be attached to an event - maybe a command button or at
the end of the event that is changing the SQL?

HTH

Debra
 
Debra Farnham said:
I think what you're looking for is

me.nameoflistbox.requery

Thanks to both you & PCD.

but it will need to be attached to an event - maybe a command button or at
the end of the event that is changing the SQL?

Yeah, its one part of code that runs when I click another conrol..


it did
 
Back
Top