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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

combo box problem

Status
Not open for further replies.

ferozy

Programmer
Feb 25, 2003
20
FJ
Hi,

I have a Form1 which has a combo box which is loaded with data
from database on form load. In this form I have a Command button
which opens form2 where I can edit data and click Finish,
which returns me to the first form.
The problem is when I return to Form1, the data in the combo box
does not reflect the changes I made in form2, it still shows the
previous data.

Can anybody please help me.

thanks.
 
When you are returning from form2 you are not reloading form1. So any code in the form load event is not being fired. You can try moving the code into the form activate event which is fired after you load the form and when you return from form2. Thanks and Good Luck!

zemp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top