Frm Views (1 Viewer)

AN60

Registered User.
Local time
Today, 15:15
Joined
Oct 25, 2003
Messages
283
I use a button on a main frm to open a second frm which I use occasionally to edit a qry. The I wish to view the frm (Editing one) in Datasheet view. My problem is that I can't get the frm to open as datasheet. I've tried setting the properties to datasheet only + only allow only the datesheet view. Even with this the frm opens as a normal frm. Datasheet allows more data to be viewed & suits my needs better. I can right click & convert the view to datasheet if necessary but obviously do not want to do that. Any ideas on how to open it up as a datasheet?
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 10:15
Joined
Feb 19, 2002
Messages
43,687
Look at the options of the OpenForm method. One of them will be what you need.
 

rat_b76

Registered User.
Local time
Tomorrow, 00:15
Joined
May 20, 2003
Messages
37
frmViews

If you set the form open method in Visual Basic to the following, it should work;

Code:
DoCmd.OpenForm "Your Form",acformDS


Cheers & Beers
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 10:15
Joined
Feb 19, 2002
Messages
43,687
Thanks for the answer rat_b76 but you gave AN60 a fish rather than teaching him how to fish. It is important that people learn how to look up at least simple things in help. This answer is quite easy to find and should not have been a burden for AN60 to look up. He might also have learned something else along the way by reading the entire help entry.
 

Users who are viewing this thread

Top Bottom