Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Well, I am not have luck capturing RecordsetClone object of NavigationForm subform. I find this form structure very frustrating. https://www.accessforums.net/forms/t...orm-32053.html



    Made one more attempt. This works:

    Code:
    Private Sub Combo11_AfterUpdate()
    With Me.NavigationSubform.Form.RecordsetClone
       .FindFirst "[ID]= " & Me.Combo11
    If Not .NoMatch Then Me.NavigationSubform.Form.Bookmark = .Bookmark
    End With
    End Sub
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  2. #17
    tazzzz is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2015
    Location
    USA
    Posts
    37
    June7
    Thank you for the code. Is working really nice for the db provided to you.
    I created a couple of more tabs to try it as for my real db. There are still a couple of questions:
    - what should I change in the code to use it for[JOBNUMBER] INSTEAD OF [ID];
    -also, the combo will bring data only for active tab and not for the other tabs(I have to re-select the combo every time I activate a tab)
    Once again, thank you for the code.

  3. #18
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Why would you need to change the code? User selects JOBNUMBER but the code uses the ID.

    However:

    .FindFirst "[JOBNUMBER]='" & Me.Combo11.Column(1) & "'"
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  4. #19
    tazzzz is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2015
    Location
    USA
    Posts
    37
    This works !!!
    What about bringing data for all the tabs?(active and non active). I tried refresh but is not working.
    Thanks

  5. #20
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    As I understand Navigation Form, only one subform is available at a time. When you click a 'tab', the subform container loads the requisite form. I am guessing would have to run the find record code after form is loaded.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  6. #21
    tazzzz is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2015
    Location
    USA
    Posts
    37
    Ok, thanks for the help.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. find values based on text criteria
    By boboivan in forum Access
    Replies: 2
    Last Post: 12-09-2015, 05:37 AM
  2. Replies: 3
    Last Post: 08-24-2015, 03:30 PM
  3. Replies: 2
    Last Post: 09-24-2014, 05:19 PM
  4. Replies: 7
    Last Post: 05-03-2014, 11:50 AM
  5. Replies: 2
    Last Post: 05-30-2012, 09:09 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