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.
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.
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.
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
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.
No it does not have any Form Associated with. It has Unbounded Box as usual.
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.
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.
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.
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.
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.