Link to home
Start Free TrialLog in
Avatar of SteveL13
SteveL13Flag for United States of America

asked on

How open datasheet form to new record

I have a form opening in datasheet view.  But when it opens I want the focus to be on a new record.  How can this be done?
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

1. set the Data Entry property to Yes
2. or open the form in Dataentry mode
    docmd.OpenForm "formx",,,,acFormAdd
ASKER CERTIFIED SOLUTION
Avatar of Simon
Simon
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SteveL13

ASKER

And the form is opened with:

DoCmd.OpenForm "frmFormName", acFormDS, , , acFormEdit, acWindowNormal

Because I do want the other records to display.