C
Chris
I am using the following code and get the above error just before the
RunCommand. I have tried to requery and to refresh but still get the
message. BTW, this is during the creation of a client record and related, so
it looks as though I have already created the record when the error occurs --
"Not Me.NewRecord".
Is this some kind of saving issue? How do I get past this error.
' deletes [tbl 1 Client] record and related
If Me.Dirty Then
Me.Undo
End If
If Not Me.NewRecord Then
RunCommand acCmdDeleteRecord
End If
RunCommand. I have tried to requery and to refresh but still get the
message. BTW, this is during the creation of a client record and related, so
it looks as though I have already created the record when the error occurs --
"Not Me.NewRecord".
Is this some kind of saving issue? How do I get past this error.
' deletes [tbl 1 Client] record and related
If Me.Dirty Then
Me.Undo
End If
If Not Me.NewRecord Then
RunCommand acCmdDeleteRecord
End If