Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

  • Newbies
Posted

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.

Posted

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

  • Newbies
Posted

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.

Posted

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

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

Posted

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.

Posted (edited)

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
Posted

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.

This topic is 6507 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.