单击门户行项目上的按钮以在 Filemaker 11 中填写该行项目的详细信息时,打开表单的第二个区域
在 filemaker 11 数据库中,我的布局包含三个选项卡:“当前年份”、“上一年”和“明年”。明年选项卡用于规划来年。每个选项卡布局都有一个包含我们提供的所有课程编号的门户。
我想做的是在门户上的每个课程线旁边添加一个按钮(在“明年”选项卡上),该按钮将启动相同布局的另一部分(如果愿意,可以显示或展开)以打开所有其他部分可以填写该特定课程编号的详细信息(例如部分、学期、学分权重、讲师等),然后单击按钮添加此新记录。
任何帮助将不胜感激。
In a filemaker 11 database, I have a layout with three tabs, Current Year, Previous Year and Next Year. The Next Year tab is used for planning the upcoming year. Each tab layout has a portal of all the course numbers that we offer.
What I'd like to do is add a button beside each course line on the portal (on the Next Year tab)that will launch another portion (either appear or expand if you will) of the same layout to open where all of the other details can be filled in for that specific course number (such as Section, Term, credit weight, instructor etc) and then by the click of a button, add this new record.
Any help would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有多种方法可以做到这一点。最简单的方法是有两种布局,一种显示门户,另一种显示带有附加字段的门户。您将需要门户表中的另一个字段,该字段是全局字段。假设您在门户表中有 TableID,在布局表中有 ID,并且两者之间存在匹配关系。在门户表中创建另一个全局字段 gID,其类型与 ID 相同,并使用 ID 和 gID 作为匹配字段在门户表之间创建自联接。每个门户行的butten执行的脚本会将gID设置为ID,然后转到展开的布局并调整窗口(大小以适合)。此布局上的保存按钮将简单地转到原始布局并调整窗口。
我创建了一个非常简单的版本供您查看。您可以从 http://dl.dropbox.com/u/115897/PortalExpand 下载它。 fp7。
There are a number of ways to do this. The easiest would be to have two layouts, one that shows the portal and one that shows the portal with the additional fields. You'll need another field in the portal's table that is a global field. Let's say you have TableID in the portal's table, ID in the layout's table and you have a relationship matching the two. Create another field in the portal's table, gID that is global and of the same type as ID and create a self-join between the portal's table using ID and gID as the match fields. The script that each portal row's butten executes will set gID to ID and then go to the expanded layout and adjust the window (size to fit). The save button on this layout will simply go to the original layout and adjust the window.
I've created a very simple version of this for you to take a look at. You can download it from http://dl.dropbox.com/u/115897/PortalExpand.fp7.