Jump to content
Salesforce and other SMB Solutions are coming soon. ×

getRecordById gives error


Recommended Posts

hee all,


I have a problem with getRecordById()..


this is my code:




function get_rights($ID){ 
  $record = $GLOBALS['db']->getRecordById('Account', $ID); 
  $rights = $record->getRelatedSet('Rights'); 

  foreach($rights as $right){ 
     $r[$i]= $right->getField('ID'); 



my error message is:

Fatal error: Call to undefined method FileMaker_Error::getRelatedSet()


why is it doeing this ? I made a portal in Filemaker which works perfect ...

and I can acces the database with php but nog with "getRecordById()" even when I use getField ...


I hope someone nows what I am doeing wrong here

Link to comment
Share on other sites

  • 11 months later...

  • Create New...

Important Information

Terms of Use