View Single Post
  #1  
Old May 20th, 2010, 06:50 PM posted to microsoft.public.access.forms
Dinamo/Pistons[_2_]
external usenet poster
 
Posts: 8
Default Form Open Error Message

I added three new fields to a form and now I get the following error:
The expression On Open you entered as the event property setting produced
the following error: return without GoSub

Well I did not change the On Open event procedure.. here it is:
Private Sub Form_Open(Cancel As Integer)
DoCmd.GoToRecord , , acNewRec
Me.subFormRepeatCalls.Enabled = False
End Sub

Interesting enough after I open and close the event procedure, I can open
the form without problems. If I exit the database I get the same error. I
deleted the fields, but I am still getting the same error

PLEASE HELP