![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi group I try to make a Global field change base on the selected tab. I Have try a Global calculation field and a standard calculated field, same result.... I wanna know what TAB is currently selected using this formula, I have assign object name to corresponding tabs Case ( GetLayoutObjectAttribute ( "tab_1"; "isFrontTabPanel")=1;"Tab 1"; GetLayoutObjectAttribute ( "tab_2"; "isFrontTabPanel")=1;"Tab 2"; GetLayoutObjectAttribute ( "tab_3"; "isFrontTabPanel")=1;"Tab 3"; GetLayoutObjectAttribute ( "tab_4"; "isFrontTabPanel")=1;"Tab 4";"NULL") When changing from layout to browse, it work, but only one time..... has I change tab, the result don't change (in both Global and regular field) I use don't store result and uncheck "do no evaluate if all ..... empty." with or wiyhout, same result. If anyone have a better idea ? Basicly what I wanna do, is change a global field base on the selected tab and that global field is use as a "key" for a filter in a relationship for portal in each tab. This technic will prevent me from creating many global field with many sub-relationship (about 12 relationships) It work fine when I use it in a script, but since we can't assign a button on top of a Tab without many sizing and "gizmo" abracadabra and changing design I can't see another way of doing this ?? Any one have a clue ?? Thank you JF |
#3
| |||
| |||
|
|
On Mar 12, 9:23 pm, "JF" <bizouman_takethis... (AT) hotmail (DOT) com> wrote: Hi group I try to make a Global field change base on the selected tab. I Have try a Global calculation field and a standard calculated field, same result.... I wanna know what TAB is currently selected using this formula, I have assign object name to corresponding tabs Case ( GetLayoutObjectAttribute ( "tab_1"; "isFrontTabPanel")=1;"Tab 1"; GetLayoutObjectAttribute ( "tab_2"; "isFrontTabPanel")=1;"Tab 2"; GetLayoutObjectAttribute ( "tab_3"; "isFrontTabPanel")=1;"Tab 3"; GetLayoutObjectAttribute ( "tab_4"; "isFrontTabPanel")=1;"Tab 4";"NULL") When changing from layout to browse, it work, but only one time..... has I change tab, the result don't change (in both Global and regular field) I use don't store result and uncheck "do no evaluate if all ..... empty." with or wiyhout, same result. If anyone have a better idea ? Basicly what I wanna do, is change a global field base on the selected tab and that global field is use as a "key" for a filter in a relationship for portal in each tab. This technic will prevent me from creating many global field with many sub-relationship (about 12 relationships) It work fine when I use it in a script, but since we can't assign a button on top of a Tab without many sizing and "gizmo" abracadabra and changing design I can't see another way of doing this ?? Any one have a clue ?? Thank you JF A global field won't work. A calculation field will. However, you have to make sure the "Do Not Store" checkbox is checked. G |
#4
| |||
| |||
|
|
Hooooooooo Sorry to tell you that, it's not working..... I've try it before I post it.... the same calculation, put in a script work because it check the current status, but FM doesn't seen to see that the Tab have change..... Anyone else ?? JF "Grip" <grip (AT) cybermesa (DOT) com> a écrit dans le message de news: 1173797577.666005.317980 (AT) p10g20...oglegroups.com... On Mar 12, 9:23 pm, "JF" <bizouman_takethis... (AT) hotmail (DOT) com> wrote: Hi group I try to make a Global field change base on the selected tab. I Have try a Global calculation field and a standard calculated field, same result.... I wanna know what TAB is currently selected using this formula, I have assign object name to corresponding tabs Case ( GetLayoutObjectAttribute ( "tab_1"; "isFrontTabPanel")=1;"Tab 1"; GetLayoutObjectAttribute ( "tab_2"; "isFrontTabPanel")=1;"Tab 2"; GetLayoutObjectAttribute ( "tab_3"; "isFrontTabPanel")=1;"Tab 3"; GetLayoutObjectAttribute ( "tab_4"; "isFrontTabPanel")=1;"Tab 4";"NULL") When changing from layout to browse, it work, but only one time..... has I change tab, the result don't change (in both Global and regular field) I use don't store result and uncheck "do no evaluate if all ..... empty." with or wiyhout, same result. If anyone have a better idea ? Basicly what I wanna do, is change a global field base on the selected tab and that global field is use as a "key" for a filter in a relationship for portal in each tab. This technic will prevent me from creating many global field with many sub-relationship (about 12 relationships) It work fine when I use it in a script, but since we can't assign a button on top of a Tab without many sizing and "gizmo" abracadabra and changing design I can't see another way of doing this ?? Any one have a clue ?? Thank you JF A global field won't work. A calculation field will. However, you have to make sure the "Do Not Store" checkbox is checked. G |
![]() |
| Thread Tools | |
| Display Modes | |
| |