Fred in Thailand Posted December 1, 2007 Posted December 1, 2007 (edited) 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, 2007 by Guest
fabriceN Posted December 1, 2007 Posted December 1, 2007 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.
Fred in Thailand Posted December 1, 2007 Author Posted December 1, 2007 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
comment Posted December 1, 2007 Posted December 1, 2007 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.
Fred in Thailand Posted December 1, 2007 Author Posted December 1, 2007 Thanks Comment That makes complete sense to me
Recommended Posts
This topic is 6558 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now