Trevor Howard
Registered User.
- Local time
- Today, 18:06
- Joined
- Aug 29, 2002
- Messages
- 64
Hello,
I have an Access 2003 developed database, works fine on Access 2000/3 and was fine on 2007 until today!
I get a debug screen, looks like it won't resolve the "acNewRec" line.
Code is as follows:
Private Sub Form_Open(Cancel As Integer)
DoCmd.Maximize
DoCmd.GoToRecord , , acNewRec
End Sub
I checked my 2007, and I have SP2 installed, but I am not sure when this was loaded. I removed the "acNewRec" line, then the form opens as expected.
Thanks for any advice.
Trevor
I have an Access 2003 developed database, works fine on Access 2000/3 and was fine on 2007 until today!
I get a debug screen, looks like it won't resolve the "acNewRec" line.
Code is as follows:
Private Sub Form_Open(Cancel As Integer)
DoCmd.Maximize
DoCmd.GoToRecord , , acNewRec
End Sub
I checked my 2007, and I have SP2 installed, but I am not sure when this was loaded. I removed the "acNewRec" line, then the form opens as expected.

Thanks for any advice.
Trevor