我可以看到获得设置某种分页机制所需的总记录数的唯一方法是:
$fileMakerObj = new FileMaker( /* credentials redacted */ );
$fc = $FileMakerObj->newFindCommand('someLayout');
//Get max Record count for someLayout
$fc->setRange(0,0);
$result1 = $fc->execute();
$maxRecords = $result1->getTableTotalCount();
$fc->clearRange();
//Window 0-100 of $maxRecords
$fc->setRange(0,100);
$page1 = $fc->execute();
//Repeat as necessary
有什么我遗漏的,还是这是唯一的解决方案?