RocAFella2007
Technical User
Hi, I was wondering if anyone could help me out here please. I need the following coding to only open up the 1 form, for example whenever the menu button is selected it keeps opening a new form, but i only want it to open a new form the once. I know about creating a module, and having the 'friend' option, but you see i cannot use that method as i need to work with the following coding.
Dim frm2 As New Form2
frm2.MdiParent = Me
frm2.Text = "Equipment booking"
frm2.Show()
(Also on this form I have a exit button) When that button is pressed this form should be able to open up again.
The other part that i require help with is I have a form which is connected to a database, the text boxes in the form are data binded to a database. On a form i have created a button which if selected i want the form to reload, and to cancel all the changes that have been made. For example when that button is pressed i want the form to exactly appear when the form opens for the first time, if you understand.
If you could give me any suggestions I would really appreciate it.
Thanks
Dim frm2 As New Form2
frm2.MdiParent = Me
frm2.Text = "Equipment booking"
frm2.Show()
(Also on this form I have a exit button) When that button is pressed this form should be able to open up again.
The other part that i require help with is I have a form which is connected to a database, the text boxes in the form are data binded to a database. On a form i have created a button which if selected i want the form to reload, and to cancel all the changes that have been made. For example when that button is pressed i want the form to exactly appear when the form opens for the first time, if you understand.
If you could give me any suggestions I would really appreciate it.
Thanks