Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / January 2008

Tip: Looking for answers? Try searching our database.

Form not opening in Datasheet view via the switchboard

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MSA - 23 Jan 2008 01:23 GMT
I have a form that is to display a table in datasheet view. It works fine
when I click it directly i.e. it opens in datasheet view. Unfortunately when
I try to open it via the switchboard thru a button it opens the form in form
view. Could someone assist I think I might need to write "datasheet" in the
event procedure.

Thanks!
MSA
Brendan Reynolds - 23 Jan 2008 11:31 GMT
>I have a form that is to display a table in datasheet view. It works fine
> when I click it directly i.e. it opens in datasheet view. Unfortunately
[quoted text clipped - 7 lines]
> Thanks!
> MSA

Note "acFormDS" below, this tells Access to open the form in datasheet view
...

Private Sub cmdTest_Click()
   DoCmd.OpenForm "frmTest7", acFormDS
End Sub

Signature

Brendan Reynolds

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.