B
Bob
I am trying to move data between forms which i have
achived sucseefully, however when i try to access a
subform I get an error message with 'object form_name not
open' Which it is.
Private Sub Command4_Click()
Forms!Test2frm!Data2 = Forms!Main!Test1frm!Data1
'This line copies the information ok'
DoCmd.GoToRecord , Forms!Main!Test1frm, acNext
'this is suppose to move the sub form on one record,
but it this is where code fails. msg Forms!Main!Test1frm
isn't open appears. Which it is'
End Sub
Any ideas??
Regards
Bob
achived sucseefully, however when i try to access a
subform I get an error message with 'object form_name not
open' Which it is.
Private Sub Command4_Click()
Forms!Test2frm!Data2 = Forms!Main!Test1frm!Data1
'This line copies the information ok'
DoCmd.GoToRecord , Forms!Main!Test1frm, acNext
'this is suppose to move the sub form on one record,
but it this is where code fails. msg Forms!Main!Test1frm
isn't open appears. Which it is'
End Sub
Any ideas??
Regards
Bob