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 / December 2005

Tip: Looking for answers? Try searching our database.

Hyperlink to a page on a tab control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rob LMS - 30 Dec 2005 21:42 GMT
I have a form that contains a tab control.  I would like to insert a
hyperlink on the first page of the tab control that will move to a different
page on the same tab control.

Any ideas?
Thanks
Rick Brandt - 30 Dec 2005 22:04 GMT
> I have a form that contains a tab control.  I would like to insert a
> hyperlink on the first page of the tab control that will move to a
> different page on the same tab control.
>
> Any ideas?
> Thanks

Set the HyperlinkSubAdress to " ".  That will make it look and act like a
hyperlink, but it won't actually take you anywhere.  Then in the OnClick event
just set focus to the desired control.  If that control is on a different
TabPage then the page will automatically change.

Signature

I don't check the Email account attached
to this message.     Send instead to...
RBrandt    at       Hunter      dot      com

Rob LMS - 31 Dec 2005 21:49 GMT
Thanks Rick.  Besides having to put the name of the form into the subaddress
instead of " ", it works great.

Thanks again, and Happy New Year

> > I have a form that contains a tab control.  I would like to insert a
> > hyperlink on the first page of the tab control that will move to a
[quoted text clipped - 7 lines]
> just set focus to the desired control.  If that control is on a different
> TabPage then the page will automatically change.
Rick Brandt - 31 Dec 2005 22:03 GMT
> Thanks Rick.  Besides having to put the name of the form into the
> subaddress instead of " ", it works great.
>
> Thanks again, and Happy New Year

Not sure I was clear.  By " " I meant a single space (without the quotes).

The name of the current form should be okay in your situation, but if (for
example) you wanted the click event to conditionally open another form then
using the form name that you want to open would mean that it wouldn't be
conditional (the form would open no matter what your click event did) and
entering the name of the calling form would mean that  the second form would
open and then the calling form would be brought in front of it by the link.  In
cases like that you pretty much have to use the single space for the
HyperlinkSubAdress property.

Signature

I don't check the Email account attached
to this message.     Send instead to...
RBrandt    at       Hunter      dot      com

 
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.