UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome to UtterAccess! Please ( Login   or   Register )

Custom Search
 
   Reply to this topicStart new topic
> Show The Required Page In Tab, Access 2010    
 
   
cmohanc
post Jan 11 2017, 01:38 AM
Post#1



Posts: 47
Joined: 8-May 16



Hi ,
I am working on a form that contains more than 1 page in a tab. When I enter a particular field in the main form , i want a specific page to be shown.
I have used set focus to the particular page. But the current control loses the focus.
I want the current control to get the focus back.
Is there any way to show the required page , without using setfocus?

Thanks in advance.

Go to the top of the page
 
adaytay
post Jan 11 2017, 04:08 AM
Post#2


UtterAccess VIP
Posts: 3,729
Joined: 7-October 03
From: Yorkshire, England.


Hi cmohanc,

Is the current control on the same page as the page that you are setting focus to?

If not - then I would suspect not. Could you provide a little more background as to what you're trying to achieve?

--------------------
Cheers,

Adz.
Go to the top of the page
 
cmohanc
post Jan 11 2017, 07:48 AM
Post#3



Posts: 47
Joined: 8-May 16



The current control is in the parent form.

I have a control named "Process" in parentForm
In the same form , I have tab control containing different subforms in 3 pages.
When i enter the control " Process" I want to show the relevant page ( Page name "Process List" ) in the tab control, while the focus remains on "Process"
This post has been edited by cmohanc: Jan 11 2017, 07:50 AM
Go to the top of the page
 
adaytay
post Jan 11 2017, 10:44 AM
Post#4


UtterAccess VIP
Posts: 3,729
Joined: 7-October 03
From: Yorkshire, England.


Hmm. You *could* try setting focus to the page and then switch it back to the Progress control. Does that work as intended?

--------------------
Cheers,

Adz.
Go to the top of the page
 
cmohanc
post Jan 11 2017, 12:27 PM
Post#5



Posts: 47
Joined: 8-May 16



If switch back to that control , the on enter event fires and it again sets focus to the tab. It goes into a loop.
This post has been edited by cmohanc: Jan 11 2017, 12:28 PM
Go to the top of the page
 


Custom Search
RSSSearch   Top   Lo-Fi    24th June 2017 - 08:45 AM