Refreshing Another Form

G

Guest

I have a listbox in Form1 and in Form2, I have a button that is supposed to
refresh Form1 so that the listbox is repopulated with the latest data after
adding some data in Form2. How do I do that? I tried something like this but
it couldn't work:

Forms!Form1.Refresh

Thanks.
ck
 
M

Mike Painter

CK said:
I have a listbox in Form1 and in Form2, I have a button that is
supposed to refresh Form1 so that the listbox is repopulated with the
latest data after adding some data in Form2. How do I do that? I
tried something like this but it couldn't work:

Forms!Form1.Refresh
The form updates the underlying table or query and you must refresh that.

Forms!Form1.yourlistbox,requiry.
 

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

Similar Threads


Top