Hi guys!
I have an index form (that you search your record with a FAYT listbox) and I have a "New record" button in it.
My code for the click event is
It works (it opens My Form, and it ir ready to receive data) BUT for a split second I am seeing the first record and THEN the blank form.
How can I avoid this, and have myform open directly to the blank state?
I have an index form (that you search your record with a FAYT listbox) and I have a "New record" button in it.
My code for the click event is
Code:
DoCmd.OpenForm FormName:="MyForm"
DoCmd.GoToRecord , , acNewRec
It works (it opens My Form, and it ir ready to receive data) BUT for a split second I am seeing the first record and THEN the blank form.
How can I avoid this, and have myform open directly to the blank state?