How come if I click the Portate button on the startup form in the attached mdb, it doesn't open the MPortate form in datasheet view while it does if I just open it directly?
How come if I click the Portate button on the startup form in the attached mdb, it doesn't open the MPortate form in datasheet view while it does if I just open it directly?

This month, every Windows Secrets subscriber can download a one-chapter excerpt of Windows 7: The Missing Manual.Windows 7: The Missing Manual provides valuable information to help you overcome these difficulties in learning a new operating system. Subscribe today to download your free excerpt.
OpenForm opens a form in Form view by default, regardless of the Default View property. To open a form in datasheet view, you must supply the View argument of OpenForm:
DoCmd.OpenForm stDocName, acFormDS, , stLinkCriteria
The acFormDS (DS = DataSheet) will ensure that the form is opened in datasheet view.
Thank you Hans