Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Show different tab in different record

Featured Replies

  • Newbies

I have a tab control with tab A and B in a layout.

When I click tab A in record one, it shows tab A in record one. When I click tab B in record two, it shows tab B in record two. Then when i go to record one, it shows tab B also. How can I show tab A in record one and tab B in record two without click again?

Thanks.

What are you trying to achieve by doing this? This is not really a good way to use tabs.

  • Author
  • Newbies

I used it in sales order. I have many products, which have different property. Although price/quanity property is same, others are different. So I use tab to show these different property.

Can you post a file or explain with greater detail. It seems as though your approach with this interaface may be off.

You can script which tab to go to when you run a script by using the go to Object[] script step but I do not think this is what you are asking for.

  • 2 weeks later...

This actually sounds like a topic I'm pursuing as well. I see that this topic is pretty old, but I'll post anyway.

I have numerous Contacts, which can be one of Educators, Government or Media (a general Category). For each Contact I have a number of checkboxes... for instance - "Principal", "Teacher", "School Board", "Legislator", "Legislative Staff", "Reporter", etc.

Obviously some of the checkboxes apply to Educators and not to Government or Media Contacts. I plan to put the checkboxes in a tab panel and am trying to find a way to display only the checkboxes appropriate to their particular general category.

I see that I can have multiple tabs and control which tab is at front using the Object controls, but better would be to show ONLY the approriate tab (or somehow display only the proper checkboxes in ONE tab) so as to cut down on screen clutter.

Any suggestions or ideas?

Thanks,

Nelson

Hi Nelson,

What you are looking for is not so much a tab panel issue but rather what we call a conditional value list. You do not need multiple panels to do this. You basically want your checkboxes to change when you change your contact type.

Do a search for +conditional +value +list

with the plus signs and there should be lots of posts and samples. If you cant find any come back and let me know.

Hope this helps.

Hi,

I do this with the recently announced LayoutProperties.

For example, I can show tab A (where fields are accessible) when an invoice is not locked, and tab B (where fields are not accessible) when it's locked.

Since you're using FileMaker 8.5, you can name tabs and perform a script on record change that goes to tab A or B depending on a criterion.

Edited by Guest

I think the way to avoid this is to script the navigation. Instead of allowing a user to simply click next, eliminate the status area and create next/previous arrows.

Write this script and link it to those buttons with the appropriate script parameter. Adjust your menus accordingly.

If[0]

Else If[Get(ScriptParemeter = "Next"]

Go To Record Next

Else If[Get(ScriptParemeter = "Previous"]

Go To Record Previous

End If

Go to Field [fieldOnTabA]

It'll be a bit of work to recreate the features of the status area, but it's a good thing to do for your db.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.