H
hugh
Hi,
I thought this is very basic and I still can not get it
right. I am confused.
I want to pass the textbox1.text on form1 (mainform) to
textbox1.text on form2. I was able to do it sometimes not
always. Sometime, it works for some textbox.text not all
textbox if there are more than one textbox on the form.
What is right way or reliable way to do it?
My sample code:
Sub GetValueFromAnothForm()
Dim frm1 as New Form1
me.textbox1.text=frm1.textbox1.text
me.textbox2.text=frm1.textbox2.text
End sub
Thanks in advance.
I thought this is very basic and I still can not get it
right. I am confused.
I want to pass the textbox1.text on form1 (mainform) to
textbox1.text on form2. I was able to do it sometimes not
always. Sometime, it works for some textbox.text not all
textbox if there are more than one textbox on the form.
What is right way or reliable way to do it?
My sample code:
Sub GetValueFromAnothForm()
Dim frm1 as New Form1
me.textbox1.text=frm1.textbox1.text
me.textbox2.text=frm1.textbox2.text
End sub
Thanks in advance.