Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 3rd, 2004, 09:04 PM
tmc tmc is offline
Registered User
 
Join Date: Aug 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default cant get tab control to work

This is a part of MS article : Microsoft Knowledge Base Article - 155646
I followed the directions and cant get my tabs to work. If someone has enough time to explain the following code i'd let you marry my first daughter(when i have one). I think its my naming, I did it on the Northwinds.mdb and it wont work ther either. Please help, I'm almost out of hair. here's the code:
 Private Sub ctlTabStrip_Click()
       On Error GoTo errhandler
          Dim rs As Recordset, mybookmark As String, I As Integer

          Select Case Me!ctlTabStrip.SelectedItem.INDEX
             Case 1 ' Show Customers form.
                Customers.SourceObject = "frmCustomers"

             Case 2 ' Show Suppliers form.
                Customers.SourceObject = "frmSuppliers"

          End Select
          Exit Sub

       errhandler:

          MsgBox "There is an error"
           Customers.SourceObject = "frmCustomers"
       End S
 
Old August 4th, 2004, 10:17 AM
tmc tmc is offline
Registered User
 
Join Date: Aug 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dont bother guys I fixed the problem
thanks





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to disable a tab on a tab control. dbradley VB.NET 6 April 14th, 2011 10:04 AM
Tab Control prasanta2expert Access 4 November 27th, 2006 05:51 AM
Calendar Control with Tab Control Slicemahn Access 1 June 12th, 2006 10:35 PM
tab control.. gbianchi ASP.NET 1.0 and 1.1 Basics 0 April 5th, 2006 09:12 AM
User Control: Tab key does not work alhad VB.NET 2002/2003 Basics 0 November 3rd, 2005 03:20 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.