May 8, 201510 yr Newbies Hello! I'm attempting to display a portal field. $find = $fm->newFindCommand('PHP_Client_Live_Container_All'); $find->addFindCriterion('All_Timesheet_Number', $tsn); $find->addFindCriterion('Job ID', $jid); $findResult = $find->execute(); $timesheet = $findResult->getFirstRecord(); $relatedSet = $timesheet->getRelatedSet('OnlineTS'); if (!FileMaker::iserror ($relatedSet)) { foreach ($relatedSet as $relatedRow) { $clientName = $relatedRow->getField('OnlinteTS::Client_Full_Name'); echo $clientName; }} Upon looking at our database, I find that the record stored in $timesheet is on a table related to OnlineTS through another table. I am assuming this can pose problems for getRelatedSet(). Up until now I've just been doing a separate findCommdand to access the portal data. I'm sure there is something I'm missing here. I'd appreciate if anyone would be able to help me out. Thank you.
Create an account or sign in to comment