0
我是filemaker的新手。我尝试设置搜索功能,但是出现错误,即使它存在,它也会返回No records match the request
。这里是代码Filemaker:没有记录匹配请求
public function get_row($table, $search='')
{
$layout_object = $this->fm->getLayout($table);
if (FileMaker::isError($layout_object)) {
return array();
}
$request = $this->fm->newFindCommand($table);
if ($search)
{
$request->addFindCriterion($search['key'], '[email protected]'); // hardcoded.
}
$result = $request->execute();
if (FileMaker::isError($result)) {
echo $result->getErrorString();
}
//.....Result: No records match the request
}
什么,我做错了什么?
您是否能告诉我你在这里使用什么语言?我在使用filemaker的一年左右没有看到类似的代码。 – Excrubulent 2013-03-21 03:58:21