基于米哈伊尔和查克的建议,我认为这个特定项目的最佳方法是在全局字段中创建.csv的内容,然后导出字段内容。我在做什么的基本轮廓:
Go to the first record
Loop
WriteTheRows (see below), comma delimited, to a global field
Set $thisGroup to the count of records summarized by this summary field
Exit Loop If Get (CurrentRecord) + $thisGroup >= Get (FoundCount)
Go to record [Get (CurrentRecord) + $thisGroup]
End Loop
Export Field Contents [global field]
WriteTheRows是一个自定义函数,执行以下操作: 我想写的输出可以由7个不同的标准,同时进行排序时间(例如:我可以概括季度销售供应商或我总结了供应商季度销售额)
Compare the highest level sort field's value to the last value we found for the highest level sort field.
If they're different WriteALine to the global field for this sort field, the next sort field, all sort fields down to the lowest level.
If they're the same, compare the (highest level sort field - 1) to the stored value for the (highest level sort field - 1)
If they're the same, WriteALine to the global field for the (highest level sort field - 1) on down to the lowest level sort field
... repeat until we're down to the lowest sort field
WriteALine是另一个自定义功能,增加了相应的标签,逗号和使用GetSummary值(revenueSumma ry;评估(“summaryField”& summaryFieldNumber),正如Chuck在他的回答中所暗示的那样。
我对FileMaker的XML/XSLT导出不是很熟悉,但我的关注点是限制最终用户可以访问的数据。比如说,我们希望与供应商分享我们销售的产品的单位数量,但不是我们在他们的产品上获得多少收入。如果我有一个通用的XML导出,那么这两个数据点都将在XML文件中。似乎可以通过XSLT隐藏它们,但一个聪明的供应商可以查看XML值。是否有办法进一步过滤输出,以便数据不仅仅隐藏,而且实际上不存在? – pft221 2011-04-22 13:10:19
对不起,迟到的答案。这不是问题:在导出到XML时,FileMaker不会保留原始XML,而只是转换的结果。没有任何地方可以从中恢复信息。 – 2011-04-28 08:51:46