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 / Modules / DAO / VBA / March 2005

Tip: Looking for answers? Try searching our database.

bookmark control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
smk23 - 05 Mar 2005 21:35 GMT
This should be a quickie:

How do I capture the current control the user is on? I've declared a
variable "Ctl" and want to save the current control in that variable. The
user goes to an input window and when returning, I want to put the cursor
back to the control the user was on.

TIA

Signature

sam

Douglas J. Steele - 05 Mar 2005 22:33 GMT
Screen.ActiveControl.

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

> This should be a quickie:
>
[quoted text clipped - 4 lines]
>
> TIA
smk23 - 05 Mar 2005 22:49 GMT
Thanks, Doug. Appreciate your help as always.
That was the first thing I looked for and couldn't seem to find it in the
list!! In any case, I had to go with

Screen.PreviousControl
becase ActiveControl took me back to the command button and kept re-opening
the input box.

> Screen.ActiveControl.
>
[quoted text clipped - 6 lines]
> >
> > TIA
 
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.