G
Guest
I have searched this board and have found similar questions and answers, but
none of the solutions seem to work for me. Can you help?
Details:
I have two forms: 2-1_modifyBillable and 2-2_sub. "2-2_sub" is a sub form
embedded in the main form "2-1_modifyBillable." I am trying to modify
captions in the subform based on information inserted into the master form.
Problem is, I cannot set the focus to the subform. My code looks something
like this:
' assign variables from sql output
cId = strFound1
m1_label = "test"
m2_label = "test2"
' set focus
Me.subfrm.SetFocus
' note: subfrm is the control name of 2-2_sub
' assign lables
Me.m1.Caption = m1_label
Me.m2.Caption = m2_label
Thanks in advance!
none of the solutions seem to work for me. Can you help?
Details:
I have two forms: 2-1_modifyBillable and 2-2_sub. "2-2_sub" is a sub form
embedded in the main form "2-1_modifyBillable." I am trying to modify
captions in the subform based on information inserted into the master form.
Problem is, I cannot set the focus to the subform. My code looks something
like this:
' assign variables from sql output
cId = strFound1
m1_label = "test"
m2_label = "test2"
' set focus
Me.subfrm.SetFocus
' note: subfrm is the control name of 2-2_sub
' assign lables
Me.m1.Caption = m1_label
Me.m2.Caption = m2_label
Thanks in advance!