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 / Forms Programming / March 2007

Tip: Looking for answers? Try searching our database.

Goto Control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Trever B - 22 Mar 2007 07:01 GMT
Hi,

Thanks in advance

I want to move control to a form from a sub form.

Then to a command button

Can't get code right.  Please help

Have tried

DoCmd.GoToControl ("Forms![Form1]![Command31]" )

Thanks

Trev
Powderfinger - 22 Mar 2007 19:35 GMT
Do you mean focus?
[Forms]![Form1]![Command31].setfocus

> Hi,
>
[quoted text clipped - 13 lines]
>
> Trev
Trever B - 23 Mar 2007 01:02 GMT
Thanks worked great.

But one question if setfocus worked what does goto control do and why have it?

Trev

> Do you mean focus?
> [Forms]![Form1]![Command31].setfocus
[quoted text clipped - 16 lines]
> >
> > Trev
 
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



©2008 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.