Multiple Forms Question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a program which goes across multiple forms. The first form has
a listbox of current employees. On another form there is an add/delete list box for
the same list of employees, which are taken out of a database (using oledb and access).
What i'm trying to figure out is how to get the list on the first form to update when that
delete / add button is pressed and the event is triggered.

I've tried things like: form1.updateListboxFunction (called from form2)
2) form1.focus
updateListboxFunction
form2.focus

but both to no avail.. If someone could help me out i'd greatly appreciate it.. I'm just a
little stumped.

Michael
Western Wats Canada
mkeeping at westernwats dot com
 
Michael
I'm not sure what you are doing in updateListboxFunction, but you may have
to unbind, clear, and rebind the listbox. I don't think setting focus is
going to do anything for you.
HTH
Les
http://www.KnowDotNet.com
 
Back
Top