However, the first user immediatley over wrote the first field in the input form!
I have searched this forum for a solution to this problem and came accross the following code which will allow input in a new record but not allow overwriting or deletion of an existing record.
Code:
Private Sub Form_Current()
If IsNull(Me.[COLOR=red]Yourfield[/COLOR]) = True Then
Me.[COLOR=red]Yourfield[/COLOR].Enabled = True
Else
Me.[COLOR=red]Yourfield[/COLOR].Enabled = False
End If
I substituted the 'Yourfield' for my field name- Customer - put the code
in Form - Current window but it didn't work.
On looking at it do I have to state the variable?
Like-Dim Me As String
Me = "Customer"
Or something like that, as that didn't work either.
As you can see I am not into VB.
Can anyone please help?