Jump to content
Salesforce and other SMB Solutions are coming soon. ×

navigating with a pop up list


alanbrown

Recommended Posts

i'm a new filemaker7 user and would like to know if it is possible to use a pop up list to navigate to a record instead of changing the value of the field. Any kind person out there who can help me or at least tell me if I'm wasting my time?

Link to comment
Share on other sites

Yes I know how to do that so I can get a pop up list but when I click an item in it it replaces the value thats in the field with the value I click. What I want to know is if there is a way to use a pop up list to navigate to a different record without changing anything.

Link to comment
Share on other sites

Not really. There's no such thing as a stand-alone pop-up list. There must be a field formatted as a pop-up list. And selecting from a pop-list changes the value in that field.

 

You can create a global field just for this purpose. So the user can select a record to go to "without changing anything", i.e. without changing anything of importance.

Link to comment
Share on other sites

wouldn't that rather defeat the object as I wouldn't be able to see the field i want to navigate to the record of? Also it doesn't answer the question of how I actually navigate to the record. Assigning a script to a field formatted as a pop up list seems to disable the pop up list property.

Link to comment
Share on other sites

re: Also it doesn't answer the question of how I actually navigate to the record.

 

You can set up a relation from the global to the field you wish to navigate to. then one script step will do:

go to related record[show only related, "relationshipname"]

if the field does not have unique content, you will get a found set of all records with that value in the field.

 

re: Assigning a script to a field formatted as a pop up list seems to disable the pop up list property.

actually, there's a trick for doing this, but the details differ whether you're on mac or windows.

For mac, something like

 

go to field [gPopupField]

loop

pause/resume [00:00:01]

#test for change of fieldcontent and countdown

end loop

go to related records [show only related, "relationshipname"]

 

not sure of the details. There's a thread on this forum about this, but I could not locate it. Maybe you can figure it out. Or make do with a "go!" button next to the popup.

 

kjoe

Link to comment
Share on other sites

I don't think so (I am not sure I quite understand what you mean). If a global field is formatted as a pop-list, then clicking on it will show the associated value list. In this case it would be a list of possible destinations. Clicking on the desired destination would enter the selected value into the global field. Then we can use this value to take the user to the specified destination.

 

 

Regarding your second question (in order of complexity, more or less):

 

1. You can put a small "Go!" button next to the pop-up field.

 

2. You can format the pop-up field itself as a button calling a script:

 

Go to Field [popupfield]

Pause Script

Go to Record [... depends on selection...]

 

This option works well on the Windows platform (I am told), and can be also adapted to work on Mac, albeit with some screen-flashing.

 

3. You can use a plug-in to trigger a script upon user exiting the pop-up field.

 

 

If you can be more specific regarding your purpose, perhaps we could move from theory to practical implementation.

 

---

I see kjoe has posted a similar answer, so I must be doing something right for a change...

Link to comment
Share on other sites

"would like to know if it is possible to use a pop up list to navigate to a record instead of changing the value of the field."

 

I'm sure you mean like on web sites where you select from a menu and without clicking anything the page changes... Comment's post answers the question as eloquently as I could ever do it.

 

But is this navigation to be done through the FMP client interface, or though a web browser with Instant Web Publishing (IWP)?

Link to comment
Share on other sites

re: I see kjoe has posted a similar answer, so I must be doing something right for a change...

 

And I was thinking it was the other way round! laugh.gif

 

kjoe

Link to comment
Share on other sites

Actually... this would be a value list based on some unique field content, right? And we want to take the user to the corresponding record, in form view? So:

 

0. Create a relationship based on:

 

gPopupField = UniqueField

 

Create a layout containing the global popup and fields from the related record.

Link to comment
Share on other sites

... except when the record count is high, the pop-up list will be huge, and that won't be a very useful navigation interface.

Link to comment
Share on other sites

Yes - but that's true for all the other suggestions as well, isn't it?

 

The question was "if it is possible to use a pop up list to navigate to a record". If the attached value list does not contain all possible destinations, the answer is "no".

Link to comment
Share on other sites

I never know apart "popup" and "pull down menu" and "menu items list" (using dutch version sometimes has drawbacks following threads on this forum...), but one of them has type-ahead so should provide some extra flexibility for long value lists.

 

kjoe

Link to comment
Share on other sites

[ QUOTE ]

Pop-up List displays value list items in a list. Users can use the arrow keys or "type ahead" to select a value.

 

Pop-up Menu displays value list items as a pop-up menu. Users must select an item with the mouse.

 

[/ QUOTE ]

 

Off-topic: the "type ahead" is a slight exaggeration.

Link to comment
Share on other sites

thanks for all the input guys. I'll have a go at trying to work out how to carry out your suggestions. My application is something like: I have a smallish number of customers and I want a quick and easy way of navigating to the record for each so I can enter some information about them into another table. Performing a find for each one seems very cumbersome as I have to do quite a few at a time. I have implemented this before in Access but now I have changed to a mac. As filemaker works so differently I am trying to learn to think in a 'filemaker' way but the drop down menu in Access was such an efficient method for my purpose that I feel rather attached to it.

Link to comment
Share on other sites

Have you thought of using a portal? That way, you don't need to do any navigation, FM will do the work for you.

 

kjoe

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...

Important Information

Terms of Use