Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forms again

Status
Not open for further replies.

cynaptic

Programmer
Sep 13, 2001
54
GB
I have a form that I would like to view as a datasheet. I have a button from the menu that calls the form, once clicked it comes up fine except that it is normal form view not datasheet. I have set the defalut view property to datasheet, but it doesn't seem to want to know....

What am I doing wrong?

TIA
 
In the code underlying the button ensure that the form opens using "DoCmd.OpenForm "frmName", acFormDS" . This should open the form in datasheet view.
 
I think if you set the "views allowed" property (directly under the "default view" property in 97) to datasheet as well, it will probably solve your problem.

-cynthia
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top