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

Tip: Looking for answers? Try searching our database.

Move from one page to another on a tab control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ernie - 12 Mar 2007 20:11 GMT
I've just tried samples from about 6 different posts and have been
unable to solve this.   Quite simply (and I know it must be), I have a
tab control (Name=TabCtl36) with 6 pages on it.  On Page 2 (Page Index
1) I have a field STOCK.   When someone enters text in the STOCK
field, I want the After Update event of the STOCK field to set the
focus to the DESCRIPTION field on Page 3 (Page Index 2).

Can someone help me with the syntax (please be exact using field/tab
names above).  Thanks.
Peter Hibbs - 12 Mar 2007 23:22 GMT
Ernie

Try

Private Sub STOCK_AfterUpdate()
   Me!DESCRIPTION.SetFocus
End Sub

HTH

Peter Hibbs

>I've just tried samples from about 6 different posts and have been
>unable to solve this.   Quite simply (and I know it must be), I have a
[quoted text clipped - 5 lines]
>Can someone help me with the syntax (please be exact using field/tab
>names above).  Thanks.
missinglinq - 13 Mar 2007 01:18 GMT
As Peter has intimated, controls on Tabbed Pages are, in fact, simply
controls on the same single form, which is to say that you reference them as
if they were on a single "screen." There is no need to refer to the Tabbed
Page's name or index.

Signature

There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000

 
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.