heldopslippers Posted April 16, 2008 Share Posted April 16, 2008 hee all, I have a problem with getRecordById().. this is my code: Code: function get_rights($ID){ $record = $GLOBALS['db']->getRecordById('Account', $ID); $rights = $record->getRelatedSet('Rights'); $i=0; foreach($rights as $right){ $i++; $r[$i]= $right->getField('ID'); } $_SESSION['rights']=$r; } 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 More sharing options...
combro2k Posted April 7, 2009 Share Posted April 7, 2009 Did you solve this already cause I have the same problem over here ... Link to comment Share on other sites More sharing options...
Recommended Posts