bcooney Posted April 21, 2017 Posted April 21, 2017 Sanity check here...I want to use a popover with a portal to help a user select from a long list of choices in Find Mode. Apparently, I cannot do that. I've tried to populate a global in the parent table and use a relationship with the global on the left to display related children in the portal. Nothing shows. I then switched to a virtual list of choices where the $$vlist is populated by SQL. $$vlist has data..portal shows nothing. Is Find Mode unable to use such a technique? I did follow Kevin Frank's tutorial on conditional value lists in Find Mode. That works wonderfully, except my first popup is too long -- really need that picker!
Lee Smith Posted April 23, 2017 Posted April 23, 2017 Hi Barbara, On 4/21/2017 at 5:45 AM, bcooney said: That works wonderfully, except my first popup is too long Why not use checkboxes?
comment Posted April 23, 2017 Posted April 23, 2017 On 4/21/2017 at 3:45 PM, bcooney said: Is Find Mode unable to use such a technique? There are many red herrings in your question: the popover, the portal, the relationship with a global field, the virtual list ... Eventually, it all comes down to this: are you trying to display data in (non-global) fields while in Find mode? That's, of course, not possible.
bcooney Posted April 23, 2017 Author Posted April 23, 2017 And that's the answer, comment. Yes, I am trying to do so. Value lists work attached to popup menus...so, I thought perhaps I could get a popover with a portal picker to work. @Lee - over 100 values to choose from on first popup. So, checkboxes aren't the answer either.
Fitch Posted April 24, 2017 Posted April 24, 2017 You might have to pop up your picker in a new window. This will be a nice option in the upcoming version with the Card feature announced in the product roadmap. While no release date has been announced, the last two versions shipped in May. https://community.filemaker.com/community/product-roadmap
bcooney Posted April 25, 2017 Author Posted April 25, 2017 Yes, cards look very cool. Hmm...a new window isn't the best since I'm on FMGo.
bcooney Posted April 25, 2017 Author Posted April 25, 2017 Not in Find mode, apparently. Just want to show a popover with portal picker of Events in Find mode. no joy. However, a popup menu with a value list works. I thought, perhaps, that I'm overlooking something obvious.
comment Posted April 25, 2017 Posted April 25, 2017 8 minutes ago, bcooney said: Just want to show a popover with portal picker of Events in Find mode. no joy. So why don't you do this while you're in Browse mode? Set a variable to the selected EventID (or what have you) and then enter Find mode. You have all this scripted, do you not?
bcooney Posted April 29, 2017 Author Posted April 29, 2017 Here's the use case: User would like to find all loans at a specific Event, and perhaps a location related to that selected Event (Events have locations). Currently, they enter Find Mode, hide calcs are used to provide Find enterable fields. The Event field has a popup menu with a value list of all events (very long) and the Event Location field has a popup menu with a value list that is now conditional given a selected Event. So, I'm stuck with that really long Event popup menu. Not sure how'd I'd split what we can do in browse with what we can do in Find. Perhaps forget the "Find Mode" and use QuickFind.
comment Posted April 29, 2017 Posted April 29, 2017 (edited) 11 minutes ago, bcooney said: User would like to find all loans at a specific Event, and perhaps a location related to that selected Event (Events have locations). That's difficult to understand without (at least) an ERD of the three. Anyway, if you want to pop-up a portal, you must be in Browse mode at that point. So either let them select the event first, and switch to Find mode after they have done so, or enter Find mode first and switch to Browse mode only to select the event (while remembering the other criteria they might have entered), or do the whole thing in Browse mode, using global fields to capture the criteria. I believe that covers all the options - at least all the options that include a pop-up portal, in the same window. Edited April 29, 2017 by comment
bcooney Posted April 30, 2017 Author Posted April 30, 2017 I'll give this some thought. Thank you for helping me think this through.
Recommended Posts
This topic is 3033 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now