Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6203 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (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

Screen.jpg

Edited by Guest
Posted

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.

Posted

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.

This topic is 6203 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.