December 1, 200718 yr I have a tab set used for admin functions. I would like it only to appear on the layout when the admin account logged in. I thought I could use JMO's visibility trick (which I have used a lot) with a calc using Get(AccountName). The calc is: ViewAdmin [if ( Show_Admin="Fred Jackson";Invoice ID )] Show Admin is a calc field unstored = Get(AccountName) The Relationship is Invoices(ViewAdmin)= Visible Admin(InvoicesID) The results should be that the a portal based on the Visable Admin TO appears only when the admin usere is the logon account and covers the tabs when anyone else logs in. The DB is hosted on FMS 8 I hope I have given enough info Thanks in advance Edited December 1, 200718 yr by Guest
December 1, 200718 yr If I understand well, you want the portal itself to become invisible, which is not possible using "JMO's visibility trick", because this trick relies on a portal, and a portal cannot be nested in another portal : Maybe you could sort it out with tab panels, or dedicated layout.
December 1, 200718 yr Author Actualy I have the portal containing a tab panel. What I want is the tab panel to become visible. Admin logs on Tab panel visible Anyone else logs on... Tab Panel gone
December 1, 200718 yr You cannot have a tab control INSIDE a portal. You can place it "inside" a portal, but it won't be really in the portal, because a tab control is an integral part of the layout part. It would be the same as trying to put the entire body part in a portal. What you can do is hide the tabs, and use buttons to switch between panels. Then one of the buttons can be made 'invisible' by placing it in a portal.
Create an account or sign in to comment