Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update list on form 1

Status
Not open for further replies.

3699wat

Technical User
Sep 30, 2002
28
US
Need help with setting a procedure to update a list on a form after entering data and clicking on the ADD RECORD button I created to update the underlying table. The fields clear after clicking to start adding a new record but the listbox is not updated unless I close the form and reopen it.
 
After Inserting the record Requery the list control.
ME![List Box Name].Requery
Please remember to give helpful posts the stars they deserve!
This makes the post more visible to others in need!
 
Try

ListBox.Requery

There are two ways to write error-free programs; only the third one works.
 
Sorry
But were exactly do you put that code?
 
In your ADD RECORD button click event Please remember to give helpful posts the stars they deserve!
This makes the post more visible to others in need!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top