Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Related set ( ) not present.

Featured Replies

  • 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

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.