Hi all I have the following code
Private Sub Command93_Click()
If Not Me.NewRecord Then
'Lock YourControl for each record.
Me!mem_RequestDetails.Locked = True
Else
Me!mem_RequestDetails.Locked = False
End If
End Sub
it should work as far as I can see as the "RequestDetails" field and the execution button are on the same form.
Can anyone see anything that would stop this from functioning (I wanted it to be button executed as the button is linked to some email vba through a call function).
Private Sub Command93_Click()
If Not Me.NewRecord Then
'Lock YourControl for each record.
Me!mem_RequestDetails.Locked = True
Else
Me!mem_RequestDetails.Locked = False
End If
End Sub
it should work as far as I can see as the "RequestDetails" field and the execution button are on the same form.
Can anyone see anything that would stop this from functioning (I wanted it to be button executed as the button is linked to some email vba through a call function).