Hi,
wondering if anyone might be able to help me here. I'm a beginner to Visual Basic 2005 Express Edition. Initially i thought it would not be much different from VB Application for Access as i'm a bit more comfortable with it now. But because i want to move our database to SQL Server, i decided to use Visual Basic 2005.
My question is very simple but i have been struggling to find the answer.
How do i open a form specified by the user?
For example in Form "StartUp", i have a button that would load up another form called "Department". This would be easier done in VBA - docmd.openform "Department"
But how do i do this in VB 2005?
I have created a new instance of Form e.g.
dim myForm = new Form()
myForm.show()
But how do i tell VB to open the form "Department"?
Thank you in advance
wondering if anyone might be able to help me here. I'm a beginner to Visual Basic 2005 Express Edition. Initially i thought it would not be much different from VB Application for Access as i'm a bit more comfortable with it now. But because i want to move our database to SQL Server, i decided to use Visual Basic 2005.
My question is very simple but i have been struggling to find the answer.
How do i open a form specified by the user?
For example in Form "StartUp", i have a button that would load up another form called "Department". This would be easier done in VBA - docmd.openform "Department"
But how do i do this in VB 2005?
I have created a new instance of Form e.g.
dim myForm = new Form()
myForm.show()
But how do i tell VB to open the form "Department"?
Thank you in advance