PC Review


Reply
Thread Tools Rate Thread

bookmark control

 
 
=?Utf-8?B?c21rMjM=?=
Guest
Posts: n/a
 
      5th Mar 2005
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

--
sam
 
Reply With Quote
 
 
 
 
Douglas J. Steele
Guest
Posts: n/a
 
      5th Mar 2005
Screen.ActiveControl.

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



"smk23" <(E-Mail Removed)> wrote in message
news:CF4DE0B9-E846-4BED-8512-(E-Mail Removed)...
> 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
>
> --
> sam



 
Reply With Quote
 
=?Utf-8?B?c21rMjM=?=
Guest
Posts: n/a
 
      5th Mar 2005
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.

"Douglas J. Steele" wrote:

> Screen.ActiveControl.
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no e-mails, please!)
>
>
>
> "smk23" <(E-Mail Removed)> wrote in message
> news:CF4DE0B9-E846-4BED-8512-(E-Mail Removed)...
> > 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
> >
> > --
> > sam

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
link from outlook to word bookmark opens doc but not at bookmark JOH Microsoft Outlook 1 2nd May 2008 03:58 AM
Bookmark page rather than bookmark site =?Utf-8?B?RG91ZyBTdGV3YXJ0?= Microsoft Frontpage 7 4th Mar 2007 05:00 PM
bookmark position in memo control Jake Microsoft Access Forms 0 20th Jan 2006 05:08 PM
Access2000, contionous form: Determining destination control and it's bookmark in LostFocus event Arvi Laanemets Microsoft Access 5 25th Mar 2005 08:42 PM
what control is on bookmark webbrowser.... Supra Microsoft VB .NET 0 12th Nov 2004 01:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:24 AM.