G
Guest
Hi,
How can I "refresh" a list box of values? That is, after the "refresh"
button is clicked, I need the list box ListBox1 to do the following:
1 - requery (now using me!ListBox1.requery --> seems to work fine)
2 - no items in list box selected ( Me!ListBox1.Selected(-1) = True does not
work. It appears to be working wth Me!ListBox1 = -1, not sure why)
3 - and the listbox returns to the top of the list (don't know how to do
this yet)
I'm having trouble in particular with number 3 above: I can't return the
listbox to show line the top of the list. I also tried me.refresh, but
doesn't do the trick either.
I'm using MsAccess 2000. Any pointers would help. Thanks in advance.
How can I "refresh" a list box of values? That is, after the "refresh"
button is clicked, I need the list box ListBox1 to do the following:
1 - requery (now using me!ListBox1.requery --> seems to work fine)
2 - no items in list box selected ( Me!ListBox1.Selected(-1) = True does not
work. It appears to be working wth Me!ListBox1 = -1, not sure why)
3 - and the listbox returns to the top of the list (don't know how to do
this yet)
I'm having trouble in particular with number 3 above: I can't return the
listbox to show line the top of the list. I also tried me.refresh, but
doesn't do the trick either.
I'm using MsAccess 2000. Any pointers would help. Thanks in advance.