Za formu imas property NewRecord, p u zavisnosti od toga radis sta ti treba. Princip je ovaj:
If me.NewRecord then
<ovo vazi kad je NEwRecord>
else
<Ovo vazi kad je postojeci rekord>
endif
Mozda moze ovako nekakoutvom slucaju
Code:
Private Sub Form_Current()
If Me.Parent!ISPRAVLJENO = -1 And (NOT Me.NewRecord) Then
Me.AllowEdits = False
Me.AllowAdditions = False
Me.AllowDeletions = False
Else
Me.AllowEdits = True
Me.AllowAdditions = True
Me.AllowDeletions = True
End If
End Sub
:-)