I'm new to creating Layouts in Filemaker (I'm not using the latest version; am using Filemaker 14 Advanced instead), and I need to know: How can I conditionally/programmatically hide and show drop-down menus on the Layout, based on a selection in another drop-down menu? For instance: Let's say I have a drop-down menu called "Race," and it has three selections: "Human, Vampire, Werewolf." If I choose "Human," I want another drop-down menu called "Class" to appear; if I choose "Vampire," I want a different drop-down menu, called "Clans," to appear instead; if I choose Werewolf, then I want a drop-down menu called "Tribes" to appear. How can I engineer this using Filemaker's built-in language, or is there some other way to do it? Step-by-step instructions and/or code, please; like I said, I'm really, really new to this and to databases in general. Thanks!
答案 0 :(得分:0)
您可以通过在“检查器”选项板上“数据”选项卡的“行为”部分中的“隐藏对象时为空白”中的计算来有条件地隐藏布局对象。
也就是说,有一些关系方法可以让您的下拉菜单在其他字段中根据选择更改其内容。这更灵活,但(当然)更复杂。您要设置的内容称为动态值列表,它基于相关表中的值,按您在前面字段中所做的选择进行筛选。
答案 1 :(得分:0)
计算基本上归结为只有一个"等于"声明或其中的一堆,只是单独挑出需要选择的值,以隐藏我想隐藏的布局对象。谢谢你的帮助,伙计们! : - )