dbTalk Databases Forums  

Tabs

comp.databases.filemaker comp.databases.filemaker


Discuss Tabs in the comp.databases.filemaker forum.



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

Default Tabs - 12-02-2006 , 03:57 PM






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


Reply With Quote
  #2  
Old   
Matt Wills
 
Posts: n/a

Default Re: Tabs - 12-02-2006 , 04:34 PM






(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.castilla (AT) gmail (DOT) com> wrote:

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


Reply With Quote
  #3  
Old   
Jokin
 
Posts: n/a

Default Re: Tabs - 12-03-2006 , 09:05 AM



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


Reply With Quote
  #4  
Old   
Matt Wills Im@witz.end
 
Posts: n/a

Default Re: Tabs - 12-03-2006 , 02:55 PM



From what I can see in brief experiments, the first tab will always be in front when you go to the layout.

The only way you're going to have control over it is to script it.

Others have had some success with EventScript and zippScript (free plugins), automatically running a script on entry to a layout, but I have not tried it yet.

EventScript http://www.softs4humans.com
zippScript http://homepage.mac.com/jkornhaus/filemaker/

Matt
(Replace the obvious) FMP:at:VirtualVermont:dot:com

On 12/03/2006 10:05:16 "Jokin" <joaquin.castilla (AT) gmail (DOT) com> wrote:

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

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.