Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5846 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hey guys,

This is probably pretty simple, but I can't find it. I have a customer table with related contacts.

I need to get the record ID of each contact record.

I know that for the customers it is:


$customerRecID = $customer->getRecordID();





but as I am going through the contact records using this:





$contactList = $customerRecord->getRelatedSet('Contacts_CustID_Customers');

foreach ($contactList as $contact) {



// create my table rows



}

I want to get the record ID for each $contact.

Any help would be great

~Mark

  • 2 weeks later...
Posted

getRelatedSet() returns an array of Filemaker_Record objects so it's the same thing:




$contactList = $customerRecord->getRelatedSet('Contacts_CustID_Customers');

foreach ($contactList as $contact) {



  $contactRecID = $contact->getRecordID();



}

This topic is 5846 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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