Linking to anchor and a query string to open a tab

Thank you Michael for the follow up. I just added the code and link structure I used to my earlier reply. All works fine when I only use the anchor link or when I only use the tab query, but together it just doesn’t function without a page reload.