MS Access form when called from a Access menu will not open in Datasheet view. ,

Reg Mills 1 Reputation point
2022-08-14T16:41:25.267+00:00

If I open my forms directly they open in datasheet view. If I open from the forms menu I created they will not open in datasheet view, why and how do I get the datasheet view when opened off the menu? I have set the form properties as in below attachment , Default View is Datasheet and when that did not work I modified the other Form and Layout views to "no". The forms still will not come up in Datasheet view off the menu, Why? I am using Access 2016.

231081-form-properties-set.jpg

Microsoft 365 and Office | Access | Development
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Karl Donaubauer 2,061 Reputation points MVP
    2022-08-16T14:32:42.06+00:00

    Hi,

    What is your "forms menu"? A real menu, a ribbon item, controls on a form...?
    Which method do you use to open the forms from there?
    If it is by VBA, i.e. OpenForm, then you have to explicitely state the desired view if it is not the default form view:

    DoCmd.OpenForm "frmFoo", acFormDS

    Servus
    Karl
    Access News
    Access DevCon

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.