kabir_hussein
Registered User.
- Local time
- Today, 11:10
- Joined
- Oct 17, 2003
- Messages
- 191
Hi i am doing a form which also contains a sumform. I dont want users to go striaght to the sub-form and then click on the main form as this causes problem.
What i am trying to do is a enabling function where once the user selects the textbox on the main form the sub-form will be enabled. However for some reason it does not work i think it may have something to do with typing the textbox of the sumform different to what i have done.
here is the code i am using
Private Sub BuyersName_Change()
If BuyersName <> True Then
PartID.Enabled = True
PartID.SetFocus
End If
End Sub
the buyersName is on main form and PartId on subform
any ideas, thank you
What i am trying to do is a enabling function where once the user selects the textbox on the main form the sub-form will be enabled. However for some reason it does not work i think it may have something to do with typing the textbox of the sumform different to what i have done.
here is the code i am using
Private Sub BuyersName_Change()
If BuyersName <> True Then
PartID.Enabled = True
PartID.SetFocus
End If
End Sub
the buyersName is on main form and PartId on subform
any ideas, thank you