March 21, 200718 yr 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.
March 21, 200718 yr What are you trying to achieve by doing this? This is not really a good way to use tabs.
March 21, 200718 yr 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.
March 21, 200718 yr 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.
April 3, 200718 yr 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
April 3, 200718 yr 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.
April 8, 200718 yr 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 April 8, 200718 yr by Guest
April 9, 200718 yr 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