C
csteuer
I have an unbound list box on my home page that lists all the records in
the database - double click on a record and it opens up the details in
another form and closes the home page form.
After I add a new record using the details page, then close the details
page and open up the home page, the new record does not appear in the
listbox. However, if I hit the F9 key it appears.
How can I add some code to refresh/requery the list box with the new
record?
I've tried me.requery and me!listbox.requery on the load event but
neither work.
Interestingly enough, if I edit a record, the new value appears in the
list box without hitting F9.
the database - double click on a record and it opens up the details in
another form and closes the home page form.
After I add a new record using the details page, then close the details
page and open up the home page, the new record does not appear in the
listbox. However, if I hit the F9 key it appears.
How can I add some code to refresh/requery the list box with the new
record?
I've tried me.requery and me!listbox.requery on the load event but
neither work.
Interestingly enough, if I edit a record, the new value appears in the
list box without hitting F9.