Won't open to new record in form

R

Renee

I have used the following code in my form and it keeps telling me that it is
not available at this time:

If Not Me.NewRecord Then
RunCommand acCmdRecordsGoToNew
End If

I have all my allow additions, allow deletions, allow edits, allow filters
set to yes and it still won't let me. Is there something I am missing?
 
G

Golfinray

Make sure your table and query are editable. If they are they will have the
arrow and asterisk at the bottom. If your table or query are not editable,
your form won't be either.
 
Top