I coded and can get the fields on the form to clear by the click of a button, but how do I make the subform clear, too?
The main form has a "Clear" button and in the "event procedure" I placed the following code:
Expand|Select|Wrap|Line Numbers
- Private Sub cmdClear_Click()
- Me.txtFname = Null
- Me.txtLname = Null
- Me.cboCountry = Null
- Me.cboDistribution = Null
- Me.cboPlatform = Null
- Me.cboState = Null
- Me.cboStatus = Null
- Me.cboType = Null
- End Sub
I would greatly appreciate assistance.
Thank you.