| | |
VB6 Form Refresh help Request
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
•
•
Join Date: Nov 2009
Posts: 18
Reputation:
Solved Threads: 0
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.
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.
•
•
Join Date: Mar 2009
Posts: 904
Reputation:
Solved Threads: 167
1
#2 Nov 11th, 2009
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
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
Form1.MyPublicSub Me.Hide
Good Luck
If anyone has helped you solve your problem, please mark your thread as solved.
Thanks
Thanks
0
#3 Nov 11th, 2009
you need to refresh your data control. like: etc.
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
data1.refresh msflexgrid.refresh
I like sword. Attack or Defense.
![]() |
Similar Threads
- Audio volume control on vb6 form (Visual Basic 4 / 5 / 6)
- How To Store data in MS access using VB6 Form (Visual Basic 4 / 5 / 6)
- ActiveX Properties in VB6 Form PropertyBag (Visual Basic 4 / 5 / 6)
- Insert Request.Form result into SQL (ASP)
- displaying labview graph on vb6 form (Visual Basic 4 / 5 / 6)
- What is Form in VB6 (Visual Basic 4 / 5 / 6)
- cdoMessage.To=Request.Form("email") (ASP)
- request.form is not working in asp.net (ASP.NET)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: saving image in ms access using vb6
- Next Thread: communicate with the system
Views: 441 | Replies: 2
| Thread Tools | Search this Thread |






