dbTalk Databases Forums  

Drop Down List where values link you to Layouts

comp.databases.filemaker comp.databases.filemaker


Discuss Drop Down List where values link you to Layouts in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
g_picache@yahoo.com
 
Posts: n/a

Default Drop Down List where values link you to Layouts - 06-20-2007 , 01:15 PM






We just recently started developing a database using Filemaker.

I would like to know if there is a way to have a drop down list or pop-
up menu from a tab or button, that if you click on any of the values
listed, it actually brings you to a layout?

What we have in mind is similar to the way one navigates around a
typical online retail catalog, wherein you have choices listed on top,
saying men, women, children. Then, if you click on men, it shows you
a list of items, such as shirts, pants, shoes. When you click on
shirts, it brings you to the page that shows all the shirts available.

In our database, I was hoping to have the user be able to navigate and
choose from the Faculty Information, Appointments Information, Process
Tracking and Contact layouts (and a lot of others) clicking on a TAB
or button, and these layouts would come up. And, you can pick from
any one of them.

I would appreciate it if someone could show us how it's done, if
possible. If not, is there a rather simple alternative that you
could suggest?

Thanks!


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

Default Re: Drop Down List where values link you to Layouts - 06-20-2007 , 02:40 PM







<g_picache (AT) yahoo (DOT) com> schreef in bericht
news:1182363315.941651.112440 (AT) j4g2000prf (DOT) googlegroups.com...
Quote:
We just recently started developing a database using Filemaker.

I would like to know if there is a way to have a drop down list or pop-
up menu from a tab or button, that if you click on any of the values
listed, it actually brings you to a layout?

What we have in mind is similar to the way one navigates around a
typical online retail catalog, wherein you have choices listed on top,
saying men, women, children. Then, if you click on men, it shows you
a list of items, such as shirts, pants, shoes. When you click on
shirts, it brings you to the page that shows all the shirts available.

In our database, I was hoping to have the user be able to navigate and
choose from the Faculty Information, Appointments Information, Process
Tracking and Contact layouts (and a lot of others) clicking on a TAB
or button, and these layouts would come up. And, you can pick from
any one of them.

I would appreciate it if someone could show us how it's done, if
possible. If not, is there a rather simple alternative that you
could suggest?

Thanks!

You can't do that natively. But you can do it (I call it a navigating
script) by using a plug-in like EventScript (free)

create a value list (value_NAV) with its values
Create global text (gNav), on the tab Auto Enter value, Specify the
Calculated value as: S4HU_EventScript( Get ( FileName ); "NAV" ; gNav)
Create a script nav containing as many steps as layouts needed. Like
If [Get (scriptparameter) = "Data Entry"
Goto Layout (Data Entry)
Else IF [Get (scriptparameter) = "Find"
Goto Layout (Find)
End IF

Etc etc.

That should work nicely
Keep well, Ursus




Reply With Quote
  #3  
Old   
Matt WIlls
 
Posts: n/a

Default Re: Drop Down List where values link you to Layouts - 06-20-2007 , 04:36 PM



In article
<1182363315.941651.112440 (AT) j4g2000prf (DOT) googlegroups.com>g_picache (AT) yahoo (DOT) c
om wrote:

Quote:
We just recently started developing a database using Filemaker.

I would like to know if there is a way to have a drop down list or
pop- up menu from a tab or button, that if you click on any of the
valueslisted, it actually brings you to a layout?

What we have in mind is similar to the way one navigates around a
typical online retail catalog, wherein you have choices listed on
top, saying men, women, children. Then, if you click on men, it
shows you a list of items, such as shirts, pants, shoes. When you
click on shirts, it brings you to the page that shows all the shirts
available.
In our database, I was hoping to have the user be able to navigate
and choose from the Faculty Information, Appointments Information,
Process Tracking and Contact layouts (and a lot of others) clicking
on a TAB or button, and these layouts would come up. And, you can
pick fromany one of them.

I would appreciate it if someone could show us how it's done, if
possible. If not, is there a rather simple alternative that
youcould suggest?

Thanks!

Certainly possible, but not natively.

I have a demo file available that provides complete information on how
to accomplish this technique using EventScript, a free cross-platform
plugin. The download includes the latest version of the plug for both
Mac and Windows.
See http://www.virtualvermont.com/FMP/EventScript.fp7.zip

Matt





Reply With Quote
  #4  
Old   
g_picache@yahoo.com
 
Posts: n/a

Default Re: Drop Down List where values link you to Layouts - 06-20-2007 , 04:58 PM



On Jun 20, 12:40 pm, "Ursus" <ursus.k... (AT) wanadoo (DOT) nl> wrote:
Quote:
g_pica... (AT) yahoo (DOT) com> schreef in berichtnews:1182363315.941651.112440 (AT) j4g2000prf (DOT) googlegroups.com...





We just recently started developing a database using Filemaker.

I would like to know if there is a way to have a drop down list or pop-
up menu from a tab or button, that if you click on any of the values
listed, it actually brings you to a layout?

What we have in mind is similar to the way one navigates around a
typical online retail catalog, wherein you have choices listed on top,
saying men, women, children. Then, if you click on men, it shows you
a list of items, such as shirts, pants, shoes. When you click on
shirts, it brings you to the page that shows all the shirts available.

In our database, I was hoping to have the user be able to navigate and
choose from the Faculty Information, Appointments Information, Process
Tracking and Contact layouts (and a lot of others) clicking on a TAB
or button, and these layouts would come up. And, you can pick from
any one of them.

I would appreciate it if someone could show us how it's done, if
possible. If not, is there a rather simple alternative that you
could suggest?

Thanks!

You can't do that natively. But you can do it (I call it a navigating
script) by using a plug-in like EventScript (free)

create a value list (value_NAV) with its values
Create global text (gNav), on the tab Auto Enter value, Specify the
Calculated value as: S4HU_EventScript( Get ( FileName ); "NAV" ; gNav)
Create a script nav containing as many steps as layouts needed. Like
If [Get (scriptparameter) = "Data Entry"
Goto Layout (Data Entry)
Else IF [Get (scriptparameter) = "Find"
Goto Layout (Find)
End IF

Etc etc.

That should work nicely
Keep well, Ursus- Hide quoted text -

- Show quoted text -
Thank you so much for your response!

I feel that I need to mention that I am a novice at this, but have
learned quite a bit since I've started. 'Am eager to learn as much as
I can, but please pardon my naivete and the questions I have which may
seem apparent to some....

After downloading EventScript 1.1, I cannot seem to find a way to
create scripts or value lists, so i am assuming that your suggestion
is to do this in FileMaker (am I right?). So, let me see if i
interpreted your advice right....

I create a value list in FileMaker with the name: value_NAV. I
created values for it: Layout 1, Layout 2 & Layout 3. I then created
a text field(is that right?) called gNAV in a Layout. Does it matter
which layout? On the Storage tab, I click on Global Storage. Then,
on the Auto Enter Value tab , I specified the calculated value as:
S4HU_EventScript( Get (FileName); "NAV"; gNAV). However, a pop-up
message comes up indicating that S4HU_EventScript function can't be
found. Also, I'd like to ask if Get (FileName) a recognized Filemaker
function, as well. I get stumped after that, as I do not know how to
proceed.

As for the rest of your suggestion, you suggested making a script
named NAV, containging only the IF function. I am not certain what
GET (scriptparameter) means. I do not see it as a listed function. I
am thinking that it should be looking at the value of whatever the
user clicked, which I am not sure how to do. Also, am I to understand
that "Data Entry" is a layout, and if whatever choice was made
equals(=) "Data Entry", then it will go to the "Data Entry" layout.
is this correct?

I am probably not doing this quite right, as I don't seem to be
utilizing the plug-in that you suggested, which has the samples, the
EventScript.fmx.

Your further advice would be very much appreciated.

Thanks!



Reply With Quote
  #5  
Old   
Ursus
 
Posts: n/a

Default Re: Drop Down List where values link you to Layouts - 06-20-2007 , 06:24 PM



Quote:
That should work nicely
Keep well, Ursus- Hide quoted text -

- Show quoted text -

Thank you so much for your response!

I feel that I need to mention that I am a novice at this, but have
learned quite a bit since I've started. 'Am eager to learn as much as
I can, but please pardon my naivete and the questions I have which may
seem apparent to some....

After downloading EventScript 1.1, I cannot seem to find a way to
create scripts or value lists, so i am assuming that your suggestion
is to do this in FileMaker (am I right?). So, let me see if i
interpreted your advice right....
Right. Back to basics. A plug-in adds some functions to filemaker that it
doesn't have on its own. Event script adds the triggering of a script after
a fields has been changed.

Quote:
I create a value list in FileMaker with the name: value_NAV. I
created values for it: Layout 1, Layout 2 & Layout 3. I then created
a text field(is that right?) called gNAV in a Layout. Does it matter
which layout? On the Storage tab, I click on Global Storage. Then,
on the Auto Enter Value tab , I specified the calculated value as:
S4HU_EventScript( Get (FileName); "NAV"; gNAV). However, a pop-up
message comes up indicating that S4HU_EventScript function can't be
found. Also, I'd like to ask if Get (FileName) a recognized Filemaker
function, as well. I get stumped after that, as I do not know how to
proceed.

You have to connect the gNAV to the value list as pop-up menu.
Place the gNAV field on your layout. double click it and select under
field/control setup "Display as pop-up menu" display values from NAV.
When you now go into browse it will show all the values in the list

Quote:
As for the rest of your suggestion, you suggested making a script
named NAV, containging only the IF function. I am not certain what
GET (scriptparameter) means. I do not see it as a listed function. I
Find the help-file and look up the word scriptparameter. it is one of the
many functions.

Quote:
am thinking that it should be looking at the value of whatever the
user clicked, which I am not sure how to do. Also, am I to understand
that "Data Entry" is a layout, and if whatever choice was made
equals(=) "Data Entry", then it will go to the "Data Entry" layout.
is this correct?
Yes you are correct. I have kept both the value in the list and the name of
the layout the same for clarity. But you may have a value of 1 in your list
that goed to a layout called eggs.

Quote:
I am probably not doing this quite right, as I don't seem to be
utilizing the plug-in that you suggested, which has the samples, the
EventScript.fmx.

It is there, but probably in a way you didn't recognize.

Quote:
Your further advice would be very much appreciated.

Thanks



Reply With Quote
  #6  
Old   
Chris Brown
 
Posts: n/a

Default Re: Drop Down List where values link you to Layouts - 06-20-2007 , 10:35 PM



Ursus wrote:
Quote:
g_picache (AT) yahoo (DOT) com> schreef in bericht
news:1182363315.941651.112440 (AT) j4g2000prf (DOT) googlegroups.com...
We just recently started developing a database using Filemaker.

I would like to know if there is a way to have a drop down list or pop-
up menu from a tab or button, that if you click on any of the values
listed, it actually brings you to a layout?

What we have in mind is similar to the way one navigates around a
typical online retail catalog, wherein you have choices listed on top,
saying men, women, children. Then, if you click on men, it shows you
a list of items, such as shirts, pants, shoes. When you click on
shirts, it brings you to the page that shows all the shirts available.

In our database, I was hoping to have the user be able to navigate and
choose from the Faculty Information, Appointments Information, Process
Tracking and Contact layouts (and a lot of others) clicking on a TAB
or button, and these layouts would come up. And, you can pick from
any one of them.

I would appreciate it if someone could show us how it's done, if
possible. If not, is there a rather simple alternative that you
could suggest?

Thanks!


You can't do that natively. But you can do it (I call it a navigating
script) by using a plug-in like EventScript (free)

create a value list (value_NAV) with its values
Create global text (gNav), on the tab Auto Enter value, Specify the
Calculated value as: S4HU_EventScript( Get ( FileName ); "NAV" ; gNav)
Create a script nav containing as many steps as layouts needed. Like
If [Get (scriptparameter) = "Data Entry"
Goto Layout (Data Entry)
Else IF [Get (scriptparameter) = "Find"
Goto Layout (Find)
End IF

Etc etc.

That should work nicely
Keep well, Ursus


if you just want a popup list of layouts to select from, then click a
button to go to, an alternate way to do this (FMPA 8)

create a calc:
c_layouts = LayoutNames ( Get ( FileName ) )

Create a value list using the calc

create a global g_layout, and attach the VL

create a nav script with
Go to Layout: using Layout name by calculation = g_layout


no conditionals required





regards

Chris


Reply With Quote
  #7  
Old   
g_picache@yahoo.com
 
Posts: n/a

Default Re: Drop Down List where values link you to Layouts - 06-21-2007 , 11:04 AM



On Jun 20, 8:35 pm, Chris Brown <cbr... (AT) medicine (DOT) adelaide.edu.au>
wrote:
Quote:
Ursus wrote:
g_pica... (AT) yahoo (DOT) com> schreef in bericht
news:1182363315.941651.112440 (AT) j4g2000prf (DOT) googlegroups.com...
We just recently started developing a database using Filemaker.

I would like to know if there is a way to have a drop down list or pop-
up menu from a tab or button, that if you click on any of the values
listed, it actually brings you to a layout?

What we have in mind is similar to the way one navigates around a
typical online retail catalog, wherein you have choices listed on top,
saying men, women, children. Then, if you click on men, it shows you
a list of items, such as shirts, pants, shoes. When you click on
shirts, it brings you to the page that shows all the shirts available.

In our database, I was hoping to have the user be able to navigate and
choose from the Faculty Information, Appointments Information, Process
Tracking and Contact layouts (and a lot of others) clicking on a TAB
or button, and these layouts would come up. And, you can pick from
any one of them.

I would appreciate it if someone could show us how it's done, if
possible. If not, is there a rather simple alternative that you
could suggest?

Thanks!

You can't do that natively. But you can do it (I call it a navigating
script) by using a plug-in like EventScript (free)

create a value list (value_NAV) with its values
Create global text (gNav), on the tab Auto Enter value, Specify the
Calculated value as: S4HU_EventScript( Get ( FileName ); "NAV" ; gNav)
Create a script nav containing as many steps as layouts needed. Like
If [Get (scriptparameter) = "Data Entry"
Goto Layout (Data Entry)
Else IF [Get (scriptparameter) = "Find"
Goto Layout (Find)
End IF

Etc etc.

That should work nicely
Keep well, Ursus

if you just want a popup list of layouts to select from, then click a
button to go to, an alternate way to do this (FMPA 8)

create a calc:
c_layouts = LayoutNames ( Get ( FileName ) )

Create a value list using the calc

create a global g_layout, and attach the VL

create a nav script with
Go to Layout: using Layout name by calculation = g_layout

no conditionals required

regards

Chris- Hide quoted text -

- Show quoted text -
Thanks. I'm excited to get this feature up and running. Thanks for
you suggestions.



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.