dbTalk Databases Forums  

What Tab is select ?

comp.databases.filemaker comp.databases.filemaker


Discuss What Tab is select ? in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JF
 
Posts: n/a

Default What Tab is select ? - 03-12-2007 , 09:23 PM






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



Reply With Quote
  #2  
Old   
Grip
 
Posts: n/a

Default Re: What Tab is select ? - 03-13-2007 , 08:52 AM






On Mar 12, 9:23 pm, "JF" <bizouman_takethis... (AT) hotmail (DOT) com> wrote:
Quote:
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



Reply With Quote
  #3  
Old   
JF Fortier
 
Posts: n/a

Default Re: What Tab is select ? - 03-13-2007 , 03:29 PM



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...
Quote:
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




Reply With Quote
  #4  
Old   
JF Fortier
 
Posts: n/a

Default Re: What Tab is select ? - 03-13-2007 , 03:50 PM



OOPPPS !

It work, sorry, but when I put a field with the test result in it, it don't
change display, the containt stay the same, but the actual value
change....... then the display value is refresh when there's a redraw
screen.... if you look a my previous post "
Flickering FM" the display only change when this is hapenning...... and
that's why yesterday it's was'nt, I was working from home and the same
software with the same setup is not freaking me out like the one at my job
!!

Thank you



JF







"JF Fortier" <jffortier_spam_ (AT) climatisationfortier (DOT) com> a écrit dans le
message de news: eCFJh.43911$df3.1112724 (AT) wagner (DOT) videotron.net...
Quote:
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






Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.