Hi Everyone...
I have an event On Current to requery a few fields (thank to Gicu's help). Now I also need to add another subroutine to On Current to enable fields if the record is new. How would the syntax look to combine (if possible)? Below shows what I have and what I will look to add.
Thanks in advance,
Eric
What I currently have:
Private Sub Form_Current()
Me.CapitalID.Requery
Me.TxtCapName.Requery
End Sub
What I am looking to add:
If Me.NewRecord Then
Me.BusUnit.Enabled = True
Me.CapitalID.Enabled = True
Else
Me.BusUnit.Enabled = False
Me.CapitalID.Enabled = False
End If