Hi All,
I have the following code behind the OnForm Open Event
Private Sub Form_Open(Cancel As Integer)
Me.Date.Enabled = False
Me.C.Enabled = False
Me.V.Enabled = False
Me.Old_K.Enabled = False
Me.D.Enabled = False
End Sub
And On the command button to add new record I have the opposite to enable each field.
The problem I am having that the code above is only disabling the first line, how can I get it to move down each line in turn?
Any help would be appreciated.
Spike



I have the following code behind the OnForm Open Event
Private Sub Form_Open(Cancel As Integer)
Me.Date.Enabled = False
Me.C.Enabled = False
Me.V.Enabled = False
Me.Old_K.Enabled = False
Me.D.Enabled = False
End Sub
And On the command button to add new record I have the opposite to enable each field.
The problem I am having that the code above is only disabling the first line, how can I get it to move down each line in turn?
Any help would be appreciated.
Spike


