如何在文件管理器中导入更新的记录



我在某处将数据作为csv文件形式勒索,然后我试图将此csv文件导入Filemaker。但是我只想导入那些在该filemaker数据库中不可用的记录。

没有办法直接导入新记录。不过,这里有一个可能的解决方法。我假设目标是导入到您当前的表中,final destination table

  1. 创建新的temporary import表。
  2. temporary import表和final destination table之间创建关系。通常,您希望根据csv文件中的唯一键以及final destination table上的记录来执行此操作。
  3. 如果手动执行此操作,请创建一个布局,显示temporary import表,该表具有final destination tablefinal destination table::unique key 中的相关索引。(如果要编写脚本来自动执行此过程,则无需执行此操作。
  4. 将 csv 文件导入到temporary import表中。
  5. temporary import表的布局上输入Find Mode,在final destination table::unique key字段中输入*,设置要省略的记录,然后执行查找。
  6. 布局现在应仅包含尚未在final destination table中的记录
  7. 转到final destination table并从同一数据库的temporary import表中导入。

这应该可以做到。此处提供了一些其他讨论:http://www.filemakertoday.com/com/showthread.php/29550-Importing-only-new-records

最新更新