new_2_prog
Registered User.
- Local time
- Today, 11:31
- Joined
- Aug 4, 2008
- Messages
- 58
I have a main form (Quote-4) that contains a procedure:
Public Sub AddSpecial()
Now from my subform (Quote-4 subfrm_Special) I need to access the previous procedure after TextBox1 and/or TextBox2 LostFocus - so I use the code:
Private Sub TextBox1_LostFocus()
Forms![Quote-4].AddSpecial
End Sub
Private Sub TextBox2_LostFocus()
Forms![Quote-4].AddSpecial
End Sub
It runs through the code fine off TextBox1 but then I go to TextBox2 and tab off it doesn't run through the code again, is there a reason? Do I need to reset something some how? Is there any reason it wouldn't TextBox2's code?
HELP, thanks!
Public Sub AddSpecial()
Now from my subform (Quote-4 subfrm_Special) I need to access the previous procedure after TextBox1 and/or TextBox2 LostFocus - so I use the code:
Private Sub TextBox1_LostFocus()
Forms![Quote-4].AddSpecial
End Sub
Private Sub TextBox2_LostFocus()
Forms![Quote-4].AddSpecial
End Sub
It runs through the code fine off TextBox1 but then I go to TextBox2 and tab off it doesn't run through the code again, is there a reason? Do I need to reset something some how? Is there any reason it wouldn't TextBox2's code?
HELP, thanks!