I have a form [frmSchMonthly] and a sub form [frmSchMonthlySubF]. If it's a new record, I want the sub form not enabled. I used this in the on current:
If Me.NewRecord Then
Me.frmSchMonthlySubF.Enabled = False
Else
Me.frmSchMonthlySubF.Enabled = True
End If
I got this error:
Not sure what I did wrong