Requery and Update

M

Milindra

I created a dropdown on product form for a user to choose
a cotegory from the list and user can I also add a new
category if they want by Double click on the dropdown. It
will open category form

My question is when I add a new category and close
category form. It doesn't automatically update on my
category dropdown. Is there any way I can do automatic
update.

Thank in advance,
Milindra
 
V

Van T. Dinh

You need to Requery the ComboBox on the frmProduct using
the Form_Unload or Form_AfterUpdate or Form_AfterInsert
Event of the frmCategory.

HTH
Van T. Dinh
MVP (Access)
 

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

Top