Results 1 to 4 of 4
  1. #1
    Lazor78 is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2012
    Location
    Sheffield
    Posts
    7

    Tab Issue

    Hi



    I am new to Access 2010 and am having issues with a tabbed navigation form - i want the first tab to control the record for all the others i.e. if i select a member of staff in the first tab, all the other tabs when opened will display their record. I can get this to work in a split form with inserted tabs but not on a plain horizontal tabs navigation page.

    I have attached an example of the form i am trying to create.

    Can anyone help?

    Thanks

    Paul
    Attached Files Attached Files

  2. #2
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    If I understand you correctly, and
    • Your first Form is frmStaff
    • The names of the Controls holding first name and surname are the same on all Forms
    • The frmStaff remains open while opening the other Forms

    you can place this code in each Form:

    Code:
    Private Sub Form_Load()
     Me.Filter = "[State] Like '*" & Me.OpenArgs & "*'"
     Me.Filter = "[FIRST NAME] = '" & Forms(frmStaff)![FIRST NAME] & "'" & " and [SURNAME] = '" & Forms(frmStaff)![SURNAME] & "'"
     Me.FilterOn = True
    End Sub
    BTW, you probably need to update your profile for this forum, as it still says that you are using Access 2003.

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

  3. #3
    Lazor78 is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2012
    Location
    Sheffield
    Posts
    7
    Thanks, worked a treat.

  4. #4
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Glad we could help!

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

Please reply to this thread with any new information or opinions.

Similar Threads

  1. End if issue
    By raytackettsells in forum Programming
    Replies: 4
    Last Post: 03-22-2012, 10:21 AM
  2. VBA issue
    By manic in forum Programming
    Replies: 4
    Last Post: 02-28-2012, 03:57 PM
  3. IIF issue
    By mohiahmed in forum Queries
    Replies: 9
    Last Post: 01-22-2012, 01:06 AM
  4. VBA Issue
    By MikeDBMan in forum Access
    Replies: 9
    Last Post: 08-02-2011, 03:59 PM
  5. Issue with Do
    By Petefured in forum Programming
    Replies: 1
    Last Post: 05-25-2011, 09:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums