Goto New Record using VBA

  • Thread starter Thread starter karim
  • Start date Start date
K

karim

Hello All,
Is there a code to have the form to go to a new record OnOpen using
VB Code? I know how to do this using Macros, but I would like to know how to
do this using VBA. Thanks for your help...
 
karim said:
Is there a code to have the form to go to a new record OnOpen using
VB Code? I know how to do this using Macros, but I would like to know how to
do this using VBA. Thanks for your help...

There are several ways to do this. This code line placed in the
Form_Load event is one:

DoCmd.GoToRecord acDataForm, Me.Name, acNewRec

--
John Mishefske, Microsoft MVP 2007 - 2009
UtterAccess Editor
Tigeronomy Software
web: http://www.tigeronomy.com
email: sales ~at~ tigeronomy.com
 
Back
Top