October 29, 200817 yr 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
November 12, 200817 yr 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(); }
Create an account or sign in to comment