Results 1 to 10 of 10
  1. #1
    yasso is offline Novice
    Windows 10 Office 365
    Join Date
    Sep 2020
    Posts
    11

    Assign Tab Control to open a specific folder


    Hi, I have created a Navigation Horizontal Tab Form but I couldn't assign (Open Location Folder) to any of the Tabs. my goal is to open a specific folder (i.e. PDF Folder) using the Tabs.
    Anyone can assist?!!!.
    Thanx.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,954
    Why? Tabs of a Navigation Form are intended to load forms.

    Have you tried code in Click event?
    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.

  3. #3
    yasso is offline Novice
    Windows 10 Office 365
    Join Date
    Sep 2020
    Posts
    11
    Because I want to use Tabs only in my Form and NOT Buttons. I want to assign it to one of the Tabs but I don't know how to write the Code?!! Can u advise the right Code?!
    Last edited by yasso; 10-02-2020 at 12:55 PM. Reason: adding Image

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,954
    Try FollowHyperlink intrinsic function.

    Does the navigation tab have a form associated with it?
    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.

  5. #5
    yasso is offline Novice
    Windows 10 Office 365
    Join Date
    Sep 2020
    Posts
    11
    No it does not have any Form Associated with. It has Unbounded Box as usual.

  6. #6
    yasso is offline Novice
    Windows 10 Office 365
    Join Date
    Sep 2020
    Posts
    11
    I tried to use Hyperlink for this specific Tab but it didn't look nice as I am using other Tabs to open associated Forms.

  7. #7
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,954
    What does "didn't look nice" mean? How did you "use Hyperlink"?

    I said to use FollowHyperlink function in click event code.
    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.

  8. #8
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,818
    One is talking tab control with pages, the other navigation form with tabs?
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  9. #9
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,954
    OP definitely said "Navigation Horizontal Tab Form" so I am advising based on use of Navigation Form, not Tab control.

    Pages of Tab control show Click event but I have never been able to get it to do anything.


    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.

  10. #10
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,818
    You don't have to justify your reasoning - that was mainly for consideration by the OP who also said "It has Unbounded Box as usual", and then there is the title of the post
    Assign Tab Control to open a specific folder

    I'm assuming you can't put a textbox on a navigation tab, nor could you put one on a navigation control AFAIK, but then I'd never us a nav form for myself so I'm not sure.
    Can't imagine why one would use either to 'open a location folder' anyway since a command button is the usual way, along with the file dialog.

    All yours.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Replies: 7
    Last Post: 08-14-2020, 06:55 PM
  2. Replies: 23
    Last Post: 11-21-2018, 02:18 PM
  3. Replies: 10
    Last Post: 09-09-2015, 03:25 AM
  4. Open an external folder specific by a form field
    By AccessNoob16 in forum Forms
    Replies: 11
    Last Post: 04-09-2012, 01:30 PM
  5. Button to Open a Specific Folder
    By dnelms in forum Programming
    Replies: 1
    Last Post: 04-08-2011, 10:05 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