September 29, 201015 yr It seems like this must be very basic, but it has me stumped. I have two tables, agencies (kp_agency_id, agency_name) and contacts (kp_contact_id, kf_agency_id, contact_name). Each contact is a member of an agency. I would like to store only the id of the relevant agency in the contacts table (as shown above). When a user edits a contact, I want them to be able to choose from a list of agency names, but I don't want them to see the agency id. When the user changes the selected agency in the contacts table, I want contacts::kf_agency_id to change but I don't want anything to change in the agencies table. Everything I've tried either makes changes to the agencies table or requires showing the id #. What am I missing? Edited September 29, 201015 yr by Guest Clarify where user is making changes
September 29, 201015 yr Well, for on thing you're missing a more explicit description of what you have tried. Uploading an example file is best. But if you set up a value list to show only the value from the second field, then you'll get the result you want. Note that this works with all value list display formats (radio button, check boxes, drop down menus) but not drop down list. See attached. Agencies.fp7.zip
September 30, 201015 yr Author Thank you. That was one of the techniques I tried, but only as a drop-down list and an edit box. Odd that drop-downs, at least, don't work. Ultimately, there will be many agencies, so many that an edit box that auto-fills from the value list would be more user-friendly than a lengthy pop-up menu. Is there any way to achieve that while still only storing the agency id in the contacts table?
September 30, 201015 yr Thank you. That was one of the techniques I tried, but only as a drop-down list and an edit box. Odd that drop-downs, at least, don't work. Well, it's not so odd at all if you think about it. The general design and purpose of the dropdown list feature is to allow any new value to be entered; as well as enabling easy selection of value list values. So there is a basic conflict here, and FileMaker has not yet resolved that by changing the options for drop down lists.
October 1, 201015 yr Author The general design and purpose of the dropdown list feature is to allow any new value to be entered; as well as enabling easy selection of value list values. So there is a basic conflict here, and FileMaker has not yet resolved that by changing the options for drop down lists. What do you mean when you say "allow any new value to be entered?" Do you mean when you allow the value list to be edited and the last choice is "edit..."? That's the case with pop-up menus as well. I guess I'm not clear on the difference between drop-down lists and pop-up menus.
October 1, 201015 yr No, a drop down list allows items to be selected form the value list, OR the user to type *anything they want* into the field. The value list is just there to make things quicker. IMHO drop down lists should only be used when values in a field re-occur frequently BUT there is the need to often enter new values. No everybody agrees with me. :P
October 1, 201015 yr I would agree with you in a second - if the popups weren't so hideous-looking and more importantly, if they didn't force a font of their own (for the sake of the checkmarks, I suppose) and even more importantly, if that font would support more than just basic ASCII characters.
October 2, 201015 yr Maybe they fixed this in version 11 (I can't test it right now). It certainly doesn't work in previous versions.
October 2, 201015 yr In v10 they show as question marks, and in v11 they show the values of the list. Lee
October 2, 201015 yr Author Back to my original question. I loaded the data into the file and the pop-up menus are unworkable because they are so long. I have switched to a technique similar to one used in the templates that come with FileMaker: One field with contacts::kf_agency_id and next to it agencies::agency_name. Contacts::kf_agency_id is shown as a drop-down list of the agency names; agencies::name cannot be edited. This works fine but I would still rather not show the kf_agency_id. Ideally, I'd like an edit field with auto-complete, validated to make sure the name the user types actually exists. I don't want to allow changes to agency names from this layout, but I also don't want to store the names in the contact table. Is there a recommended technique to achieve that? This is what I currently have: Edited October 2, 201015 yr by Guest Clarify what I'm trying to do
October 3, 201015 yr if they didn't force a font of their own (for the sake of the checkmarks, I suppose) and even more importantly, if that font would support more than just basic ASCII characters. Interesting. As Rhody says, they both show the values (on Windows). Further, they both show the values in tested 7.0v3, 9.0v3 and 11.0v2 (on Windows XP Professional). I didn't realize the display was limited on Macs (in this single regard).
October 3, 201015 yr Here's "before and after" in version 10.0v3. As you can see, it's NOT Greek where it should be... : Edited October 3, 201015 yr by Guest
Create an account or sign in to comment