F
fridayxiii
I have a form (frmProjectDetails) which I'd like to open w/all fields
blank. I added the following code:
Sub ShowNewRecord()
DoCmd.OpenForm "frmProjectDetails", acNormal
DoCmd.GoToRecord , , acNewRec
End Sub
but when opening the form I get an error and am taken to the VB window
to debug. I've tried variations of the above code, tried placing it
in different subs or events but to no avail. Any ideas on what I've
done wrong?
BTW this is a bound from in Access 2K3.
Thanx,
Brian
blank. I added the following code:
Sub ShowNewRecord()
DoCmd.OpenForm "frmProjectDetails", acNormal
DoCmd.GoToRecord , , acNewRec
End Sub
but when opening the form I get an error and am taken to the VB window
to debug. I've tried variations of the above code, tried placing it
in different subs or events but to no avail. Any ideas on what I've
done wrong?
BTW this is a bound from in Access 2K3.
Thanx,
Brian