Go to certain TAB on specific LAYOUT

Go to certain TAB on specific LAYOUT

am 29.11.2007 07:22:25 von Lewis

I have a scenario where I have duplicated layouts with multiple tabs, and
would like a button to send me to the corresponding tab on each layout. I
have tried to invole this in a script giving each tab an object name, with
no joy!
Any idea what I'm missing?
Cheers,
Lewis

Re: Go to certain TAB on specific LAYOUT

am 29.11.2007 09:28:53 von ursus.kirk

"Lewis" schreef in bericht
news:474e5a8f$1@dnews.tpgi.com.au...
>I have a scenario where I have duplicated layouts with multiple tabs, and
>would like a button to send me to the corresponding tab on each layout. I
>have tried to invole this in a script giving each tab an object name, with
>no joy!
> Any idea what I'm missing?
> Cheers,
> Lewis

I would say you have done the correct thing. But could you send more
details. Like the laypouts you have made and exactly how you have name the
objects and the script that didn't do what you expected.

Keep well, Ursus

Re: Go to certain TAB on specific LAYOUT

am 29.11.2007 23:43:15 von d-42

On Nov 28, 10:22 pm, "Lewis" wrote:
> I have a scenario where I have duplicated layouts with multiple tabs, and
> would like a button to send me to the corresponding tab on each layout. I
> have tried to invole this in a script giving each tab an object name, with
> no joy!
> Any idea what I'm missing?
> Cheers,
> Lewis

GoTo Object will not switch layouts, if that is what you were hoping
for. You'll need to script the layout change, before calling GoTo
object.

-Dave

Re: Go to certain TAB on specific LAYOUT

am 30.11.2007 06:36:14 von Lewis

Hi Dave & Ursus,
I've made a script step to change layout before going to object, but rather
than going to object, it just goes to the last tab the layout was saved on.
Each tab has been given an object name, but it doesn't seem to acknowledge
those steps!



"d-42" wrote in message
news:8eed3d45-7859-4a1f-a874-8264f2cf756d@a39g2000pre.google groups.com...
> On Nov 28, 10:22 pm, "Lewis" wrote:
>> I have a scenario where I have duplicated layouts with multiple tabs, and
>> would like a button to send me to the corresponding tab on each layout. I
>> have tried to invole this in a script giving each tab an object name,
>> with
>> no joy!
>> Any idea what I'm missing?
>> Cheers,
>> Lewis
>
> GoTo Object will not switch layouts, if that is what you were hoping
> for. You'll need to script the layout change, before calling GoTo
> object.
>
> -Dave

Re: Go to certain TAB on specific LAYOUT

am 30.11.2007 12:51:16 von ursus.kirk

"Lewis" schreef in bericht
news:474fa13c@dnews.tpgi.com.au...
> Hi Dave & Ursus,
> I've made a script step to change layout before going to object, but
> rather than going to object, it just goes to the last tab the layout was
> saved on.
> Each tab has been given an object name, but it doesn't seem to acknowledge
> those steps!
>

Just repeating myself here. Could you send more details. Like the laypouts
you have made and exactly how you have name the
objects and the script that didn't do what you expected.

Go though it step by step. what did you select for giving the object a name.
What names did you use. Exactly how does you script look. etc etc. Without
details it is not really possible to answer your questions.

Keep well ,Ursus

Re: Go to certain TAB on specific LAYOUT

am 01.12.2007 00:03:27 von dan.stuchbury

On Nov 30, 11:51 am, "Ursus" wrote:
> "Lewis" schreef in berichtnews:474fa13c@dnews.tpgi.com.au...
>
> > Hi Dave & Ursus,
> > I've made a script step to change layout before going to object, but
> > rather than going to object, it just goes to the last tab the layout was
> > saved on.
> > Each tab has been given an object name, but it doesn't seem to acknowledge
> > those steps!
>
> Just repeating myself here. Could you send more details. Like the laypouts
> you have made and exactly how you have name the
> objects and the script that didn't do what you expected.
>
> Go though it step by step. what did you select for giving the object a name.
> What names did you use. Exactly how does you script look. etc etc. Without
> details it is not really possible to answer your questions.
>
> Keep well ,Ursus


What you need to do, is create a global field on each of the tabs you
want to select. Then in your script, use GoTo Field, and obviously
select the appropriate field.

Works every time for me - happy to create some screenshots if need be,
just let me know.

Regards,
Dan

--
Dan Stuchbury
FileMaker Extraordinaire
stuchburyassociates.com

Re: Go to certain TAB on specific LAYOUT

am 01.12.2007 13:33:38 von ursus.kirk

>> Just repeating myself here. Could you send more details. Like the
>> laypouts
>> you have made and exactly how you have name the
>> objects and the script that didn't do what you expected.
>>
>> Go though it step by step. what did you select for giving the object a
>> name.
>> What names did you use. Exactly how does you script look. etc etc.
>> Without
>> details it is not really possible to answer your questions.
>>
>> Keep well ,Ursus
>
>
> What you need to do, is create a global field on each of the tabs you
> want to select. Then in your script, use GoTo Field, and obviously
> select the appropriate field.
>
> Works every time for me - happy to create some screenshots if need be,
> just let me know.
>

Although it may work, you are left within that field. Naming the correct tab
as an object would do perfectly well as well. But I'm still interested what6
the OP has done and why his solution doesn't seem to work.

Keep well, Ursu

Re: Go to certain TAB on specific LAYOUT

am 04.12.2007 09:01:34 von Lewis

To assign each tab an object name I clicked; view>object info> clicked on
the tab and typed the name of each object in the object info box.
The script was;
go to layout ["Layout name" (layout)]
Go to Object [Object name: "object name"]
Does that make any sense?
I tried adding "go to field" but it made no difference.
thanks again,
Lewis

"Ursus" wrote in message
news:475154a0$0$92316$dbd4d001@news.wanadoo.nl...
>>> Just repeating myself here. Could you send more details. Like the
>>> laypouts
>>> you have made and exactly how you have name the
>>> objects and the script that didn't do what you expected.
>>>
>>> Go though it step by step. what did you select for giving the object a
>>> name.
>>> What names did you use. Exactly how does you script look. etc etc.
>>> Without
>>> details it is not really possible to answer your questions.
>>>
>>> Keep well ,Ursus
>>
>>
>> What you need to do, is create a global field on each of the tabs you
>> want to select. Then in your script, use GoTo Field, and obviously
>> select the appropriate field.
>>
>> Works every time for me - happy to create some screenshots if need be,
>> just let me know.
>>
>
> Although it may work, you are left within that field. Naming the correct
> tab as an object would do perfectly well as well. But I'm still interested
> what6 the OP has done and why his solution doesn't seem to work.
>
> Keep well, Ursu
>

Re: Go to certain TAB on specific LAYOUT

am 04.12.2007 09:09:10 von Lewis

Hey Dan,
I'd love to see some screen shots of you object pointing whatsits!!
Cheers,
Lewis

wrote in message
news:788bd510-fadb-4950-900e-5b5083804874@e23g2000prf.google groups.com...
> On Nov 30, 11:51 am, "Ursus" wrote:
>> "Lewis" schreef in
>> berichtnews:474fa13c@dnews.tpgi.com.au...
>>
>> > Hi Dave & Ursus,
>> > I've made a script step to change layout before going to object, but
>> > rather than going to object, it just goes to the last tab the layout
>> > was
>> > saved on.
>> > Each tab has been given an object name, but it doesn't seem to
>> > acknowledge
>> > those steps!
>>
>> Just repeating myself here. Could you send more details. Like the
>> laypouts
>> you have made and exactly how you have name the
>> objects and the script that didn't do what you expected.
>>
>> Go though it step by step. what did you select for giving the object a
>> name.
>> What names did you use. Exactly how does you script look. etc etc.
>> Without
>> details it is not really possible to answer your questions.
>>
>> Keep well ,Ursus
>
>
> What you need to do, is create a global field on each of the tabs you
> want to select. Then in your script, use GoTo Field, and obviously
> select the appropriate field.
>
> Works every time for me - happy to create some screenshots if need be,
> just let me know.
>
> Regards,
> Dan
>
> --
> Dan Stuchbury
> FileMaker Extraordinaire
> stuchburyassociates.com