![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi everybody. I am having some problem managing the tabs. For example, if I have a tab with 3 labels and if I move to another layout without tabs and later I return to the original layout containing the tabs (with three labels), the label selected previously changes and other different label is now activated. Is there any way to do that a label is selected in a tab always depending on a specific data in a field? For example, if I have three records containing the field "field1" and in a layout I have a tab with three labels named A, B and C, I would like that if I go to the record one containing "A" in the field1, the label "A" is selected but if I move to the record two containing "B" in the field1, the label "B" is activated and so on. Thanks, Jokin |
#3
| |||
| |||
|
|
(Version unspecified. Response assumes FileMaker 8.5) Options: Script going to a field on the tab: Go To Layout [WhateverLayout] Go To Field [WhateverField]. Script going to the tab as a named object: Go To Layout [WhateverLayout] Go To Object [WhateverObject]. Both Layout and Object as destinations can be expressed as calculations (use Case or If to decide which Layout or Object). Matt On 12/02/2006 16:57:24 "Jokin" <joaquin.casti... (AT) gmail (DOT) com> wrote: Hi everybody. I am having some problem managing the tabs. For example, if I have a tab with 3 labels and if I move to another layout without tabs and later I return to the original layout containing the tabs (with three labels), the label selected previously changes and other different label is now activated. Is there any way to do that a label is selected in a tab always depending on a specific data in a field? For example, if I have three records containing the field "field1" and in a layout I have a tab with three labels named A, B and C, I would like that if I go to the record one containing "A" in the field1, the label "A" is selected but if I move to the record two containing "B" in the field1, the label "B" is activated and so on. Thanks, Jokin-- (Replace the obvious) FMP:at:VirtualVermont:dot:com |
#4
| |||
| |||
|
|
Thanks Matt, I have generated the scripts that you proposed me and they are working very well. The problem is that I have to run a script to change the tab as you mentioned. I am wondering if it is possible that just changing the record, the label is selected according to the some information of the record. For example, if I "find" some record without any script, just CLTR F, by default the label selected is the label "A" but the record contains data in the label "B", is there any way that the database change to label "B" if the record found contains, for example, the field1 with "B" indicating that the data are in the labe "B"? Thanks, Jokin On Dec 2, 5:34 pm, Matt Wills <I... (AT) witz (DOT) end> wrote: (Version unspecified. Response assumes FileMaker 8.5) Options: Script going to a field on the tab: Go To Layout [WhateverLayout] Go To Field [WhateverField]. Script going to the tab as a named object: Go To Layout [WhateverLayout] Go To Object [WhateverObject]. Both Layout and Object as destinations can be expressed as calculations (use Case or If to decide which Layout or Object). Matt On 12/02/2006 16:57:24 "Jokin" <joaquin.casti... (AT) gmail (DOT) com> wrote: Hi everybody. I am having some problem managing the tabs. For example, if I have a tab with 3 labels and if I move to another layout without tabs and later I return to the original layout containing the tabs (with three labels), the label selected previously changes and other different label is now activated. Is there any way to do that a label is selected in a tab always depending on a specific data in a field? For example, if I have three records containing the field "field1" and in a layout I have a tab with three labels named A, B and C, I would like that if I go to the record one containing "A" in the field1, the label "A" is selected but if I move to the record two containing "B" in the field1, the label "B" is activated and so on. Thanks, Jokin-- (Replace the obvious) FMP:at:VirtualVermont:dot:com |
![]() |
| Thread Tools | |
| Display Modes | |
| |