2013-08-02 70 views
-1

我设置变量以将Inventory record(库存表)放到我的Production layout(生产表)中,将该变量插入到其ID字段中。这样可行。Filemaker 12如何计算多个字段

我的问题是,我有Item, Color, Weight, Basis, Size字段,我需要从我的inventory table拉动信息放入使用该ID号码的生产布局。 (我知道门户网站,但我需要多个门户网站,因为我将从我的库存记录和客户记录中“导入”其他信息)。

编辑我想我可能已经回答了我自己的问题。我为要放入“生产”布局的所有字段设置变量,然后使用脚本通过“计算”设置这些字段。这似乎是最好的方式去做这件事。?

回答

0

一段感情会更好。

Set $productionId = Production::id 
Go To Layout "Inventory" 
New Record 
Set Field Inventory::productionId = $productionId 
// now the relationship is valid between inventory and production 
// you can copy fields over from the Production table, 
// or just reference them using the relationship