i have 2 forms..when i start my application..form1 loads...then i navigate to form2 and adds some data in database using controls on form2, which should also reflect on form1...

My data is not getting reflected on form1, after i hide form2...before giving "form2.hide", i tried giving "form1.show" and "form1.refresh" but i am still not able to get the updated data on form1.

Plz help.

In form1 create a public sub so when you hide form2 you can call it...


then in the form1's mypublicsub you instruct whatever data access method you are using to refresh/requery itself and to redisplay the information.

Good Luck

commented: thanks... +0

you need to refresh your data control. like: