thanks Doc_Man for your prompt reply
The code I posted is what was given by the school. I did notice the additional argument and tried deleting it, but then got the following error:
Run type error"13":
Type Mismatch
I haven't used access in years and am trying to help my son learn to use it, but encountering some errors on basic VBA code
He has a form with various buttons eg next record etc. He is trying to use a button to open the underlying table. The underlying code is as follows:
Private Sub...