Hi all, i am getting this error when i am trying to display a textbox data from a subform on to a textbox on a main form, i will explain the senario. I have a search button on the main form which brings up a subform where i search a row with an id, for now i am putting the value in a textbox and was trying to display the same value in the mainform in a textbox (my original requirement is different which needs populating many values on the mainform based on a set of ids in the subform). So what i am doing in my subform is
Private mainform As Form1
sub event
mainform.txtmainval.text = txtsubval.text 'subform textbox value
end sub
I an new to vb programming, so was just wondering if someone could help.
Thanks for your time ..
--kris
Private mainform As Form1
sub event
mainform.txtmainval.text = txtsubval.text 'subform textbox value
end sub
I an new to vb programming, so was just wondering if someone could help.
Thanks for your time ..
--kris