Billy Pang
tuxedoman888 at gmail.com
Tue Apr 17 19:37:52 CDT 2007
thanks Stuart. however, when i run docmd.runcommand accmddatasheetview opens up the current form selected from the database window, which may or may not be the target form. On 4/17/07, Stuart McLachlan <stuart at lexacorp.com.pg> wrote: > > <quot> > Easy enough to go from Form View to Datasheet view with a button which > invokes DoCmd.DoMenuItem..... > </quote> > > But it's better to use DoCmd.RunCommand acCmdDatasheetView > > :-) > > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Billy Pang http://dbnotes.blogspot.com/ "Once the game is over, the King and the pawn go back in the same box." - Italian proverb